Fix archive_dot_org submit_url
It was removing functional query parameters. (e.g., https://news.ycombinator.com/item?id=18216459)
This commit is contained in:
parent
8b850393df
commit
a59d609571
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ def archive_dot_org(link_dir, link, timeout=TIMEOUT):
|
|||
archive_org_url = open(path, 'r').read().strip()
|
||||
return {'output': archive_org_url, 'status': 'skipped'}
|
||||
|
||||
submit_url = 'https://web.archive.org/save/{}'.format(link['url'].split('?', 1)[0])
|
||||
submit_url = 'https://web.archive.org/save/{}'.format(link['url'])
|
||||
|
||||
success = False
|
||||
CMD = ['curl', '-L', '-I', '-X', 'GET', submit_url]
|
||||
|
|
Loading…
Reference in a new issue