mirror of
https://github.com/ArchiveTeam/reddit-grab
synced 2024-11-18 03:25:50 +00:00
Update version to 20200102.01.
This commit is contained in:
parent
0eb4b6205a
commit
ac65b0a818
@ -69,8 +69,8 @@ if not WGET_LUA:
|
||||
#
|
||||
# Update this each time you make a non-cosmetic change.
|
||||
# It will be added to the WARC files and reported to the tracker.
|
||||
VERSION = '20190729.01'
|
||||
USER_AGENT = 'ArchiveTeam'
|
||||
VERSION = '20200102.01'
|
||||
USER_AGENT = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1)'
|
||||
TRACKER_ID = 'reddit'
|
||||
TRACKER_HOST = 'tracker.archiveteam.org'
|
||||
|
||||
@ -281,7 +281,7 @@ class WgetArgs(object):
|
||||
post_id = self.int_to_str(i)
|
||||
wget_args.extend(['--warc-header', 'reddit-post: {}'.format(post_id)])
|
||||
wget_args.append('https://www.reddit.com/comments/{}'.format(post_id))
|
||||
wget_args.append('https://old.reddit.com/comments/{}'.format(post_id))
|
||||
#wget_args.append('https://old.reddit.com/comments/{}'.format(post_id))
|
||||
else:
|
||||
raise Exception('Unknown item')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user