mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-21 02:15:10 -04:00
submit full url with scheme to archive.org
This commit is contained in:
parent
c292b377be
commit
7a81a9f143
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ def archive_dot_org(out_dir, link, overwrite=False):
|
||||||
# submit to archive.org
|
# submit to archive.org
|
||||||
if (not os.path.exists('{}/archive.org.txt'.format(out_dir)) or overwrite):
|
if (not os.path.exists('{}/archive.org.txt'.format(out_dir)) or overwrite):
|
||||||
print(' - Submitting to archive.org')
|
print(' - Submitting to archive.org')
|
||||||
submit_url = 'https://web.archive.org/save/{}'.format(link['base_url'])
|
submit_url = 'https://web.archive.org/save/{}'.format(link['url'].split('?', 1)[0])
|
||||||
|
|
||||||
success = False
|
success = False
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue