[twitter] attempt to fix infinite loops (#499)

(Hopefully this doesn't break anything else)
This commit is contained in:
Mike Fährmann
2019-12-03 22:55:29 +01:00
parent 71acbdabf4
commit 07dafad26d

View File

@@ -215,7 +215,7 @@ class TwitterExtractor(Extractor):
if "min_position" in data:
position = data["min_position"]
if position == max_position:
if position == max_position or position is None:
return
else:
position = text.parse_int(text.extract(