Commit ea70cb33 authored by Francesco Poldi's avatar Francesco Poldi

Profile stop scroll error message

parent 8f9a6d23
......@@ -90,6 +90,9 @@ class Twint:
print(str(e))
break
except Exception as e:
if self.config.Profile or self.config.Favorites:
print("[!] Twitter does not return more data, scrape stops here.")
break
logme.critical(__name__+':Twint:Feed:noData' + str(e))
# Sometimes Twitter says there is no data. But it's a lie.
consecutive_errors_count += 1
......
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