]> code.communitydata.science - cdsc_reddit.git/blob - dumps/pull_pushshift_comments.sh
add note to try other tf normalization strategies.
[cdsc_reddit.git] / dumps / pull_pushshift_comments.sh
1 #!/bin/bash
2
3 user_agent='nathante teblunthuis <nathante@uw.edu>'
4 output_dir='/gscratch/comdata/raw_data/reddit_dumps/comments'
5 base_url='https://files.pushshift.io/reddit/comments/'
6
7 wget -r --no-parent -A 'RC_201*.bz2' -U $user_agent -P $output_dir -nd -nc $base_url
8 wget -r --no-parent -A 'RC_201*.xz' -U $user_agent -P $output_dir -nd -nc $base_url
9 wget -r --no-parent -A 'RC_201*.zst' -U $user_agent -P $output_dir -nd -nc $base_url
10
11
12 ./check_comments_shas.py

Community Data Science Collective || Want to submit a patch?