diff --git a/scripts/comicfury.py b/scripts/comicfury.py index 8caae925a..797c5d457 100755 --- a/scripts/comicfury.py +++ b/scripts/comicfury.py @@ -256,7 +256,7 @@ def handle_url(url, session, res): """Parse one search result page.""" print("Parsing", url, file=sys.stderr) try: - data, baseUrl = getPageContent(url, session) + data = getPageContent(url, session) except IOError as msg: print("ERROR:", msg, file=sys.stderr) return diff --git a/scripts/comicgenesis.py b/scripts/comicgenesis.py index 6f82cc771..dc880923b 100755 --- a/scripts/comicgenesis.py +++ b/scripts/comicgenesis.py @@ -372,7 +372,7 @@ def handle_url(url, session, res): """Parse one search result page.""" print("Parsing", url, file=sys.stderr) try: - data, baseUrl = getPageContent(url, session) + data = getPageContent(url, session) except IOError as msg: print("ERROR:", msg, file=sys.stderr) return diff --git a/scripts/creators.py b/scripts/creators.py index 015487a18..88b4759ce 100755 --- a/scripts/creators.py +++ b/scripts/creators.py @@ -26,7 +26,7 @@ def handle_url(url, session, res): """Parse one search result page.""" print("Parsing", url, file=sys.stderr) try: - data, baseUrl = getPageContent(url, session) + data = getPageContent(url, session) except IOError as msg: print("ERROR:", msg, file=sys.stderr) return diff --git a/scripts/drunkduck.py b/scripts/drunkduck.py index 833aceb3b..147520d1f 100755 --- a/scripts/drunkduck.py +++ b/scripts/drunkduck.py @@ -169,7 +169,7 @@ exclude_comics = [ def handle_url(url, session, url_matcher, num_matcher, res): """Parse one search result page.""" try: - data, baseUrl = getPageContent(url, session) + data = getPageContent(url, session) except IOError as msg: print("ERROR:", msg, file=sys.stderr) return diff --git a/scripts/keenspot.py b/scripts/keenspot.py index 9803f8b1b..d6cee7cb1 100755 --- a/scripts/keenspot.py +++ b/scripts/keenspot.py @@ -57,7 +57,7 @@ def handle_url(url, session, res): """Parse one search result page.""" print("Parsing", url, file=sys.stderr) try: - data, baseUrl = getPageContent(url, session) + data = getPageContent(url, session) except IOError as msg: print("ERROR:", msg, file=sys.stderr) return @@ -88,7 +88,7 @@ def handle_url(url, session, res): def get_description(url, session): """Get comic strip description.""" try: - data, baseUrl = getPageContent(url, session) + data = getPageContent(url, session) except IOError as msg: print("ERROR:", msg, file=sys.stderr) return u"" diff --git a/scripts/smackjeeves.py b/scripts/smackjeeves.py index 22f0d3b0c..13e9ff241 100755 --- a/scripts/smackjeeves.py +++ b/scripts/smackjeeves.py @@ -252,7 +252,7 @@ def handle_url(url, session, res): """Parse one search result page.""" print("Parsing", url, file=sys.stderr) try: - data, baseUrl = getPageContent(url, session) + data = getPageContent(url, session) except IOError as msg: print("ERROR:", msg, file=sys.stderr) return @@ -276,7 +276,7 @@ def handle_url(url, session, res): # search for url in extra page print("Getting", page_url) try: - data2, baseUrl2 = getPageContent(page_url, session) + data2 = getPageContent(page_url, session) except IOError as msg: print("ERROR:", msg, file=sys.stderr) return