Commit 0ffce296 authored by Francesco Poldi's avatar Francesco Poldi

Error handling #316

parent b117e5bb
......@@ -11,8 +11,8 @@ def Follow(response):
cursor = soup.find_all("div", "w-button-more")
try:
cursor = findall(r'cursor=(.*?)">', str(cursor))[0]
except Exception as e:
print(str(e) + " [x] feed.Follow")
except IndexError:
pass
return follow, cursor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment