2020-07-03 17:41:13 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
user_agent='nathante teblunthuis <nathante@uw.edu>'
|
|
|
|
output_dir='/gscratch/comdata/raw_data/reddit_dumps/comments'
|
|
|
|
base_url='https://files.pushshift.io/reddit/comments/'
|
|
|
|
|
2020-10-03 23:42:22 +00:00
|
|
|
wget -r --no-parent -A 'RC_201*.bz2' -U $user_agent -P $output_dir -nd -nc $base_url
|
|
|
|
wget -r --no-parent -A 'RC_201*.xz' -U $user_agent -P $output_dir -nd -nc $base_url
|
|
|
|
wget -r --no-parent -A 'RC_201*.zst' -U $user_agent -P $output_dir -nd -nc $base_url
|
2020-07-03 17:41:13 +00:00
|
|
|
|
2020-10-03 23:42:22 +00:00
|
|
|
|
|
|
|
./check_comments_shas.py
|