update the reddit comment dumps
This commit is contained in:
parent
d05da6441f
commit
db2d6248fc
12
pull_pushshift_comments.sh
Executable file
12
pull_pushshift_comments.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/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/'
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user