Skip to content

Commit

Permalink
Version 20230514.01. Fail item on *.mp4 errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAnotherArchivist committed May 14, 2023
1 parent aec6fb4 commit 48e2477
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion imgur.lua
Expand Up @@ -566,7 +566,7 @@ wget.callbacks.httploop_result = function(url, err, http_stat)
io.stdout:write("Server returned bad response. Sleeping.\n")
io.stdout:flush()
tries = tries + 1
if tries > 8 or status_code == 404 then
if tries > 8 or status_code == 404 or string.match(url["url"], item_value .. "%.mp4$") then
tries = 0
abort_item()
return wget.actions.EXIT
Expand Down
2 changes: 1 addition & 1 deletion pipeline.py
Expand Up @@ -60,7 +60,7 @@
#
# Update this each time you make a non-cosmetic change.
# It will be added to the WARC files and reported to the tracker.
VERSION = '20230513.01'
VERSION = '20230514.01'
USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36'
TRACKER_ID = 'imgur'
TRACKER_HOST = 'legacy-api.arpa.li'
Expand Down

0 comments on commit 48e2477

Please sign in to comment.