13
0
cdsc_reddit/dumps/pull_pushshift_comments.sh

13 lines
463 B
Bash
Raw Normal View History

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