Commit a5499517 authored by Francesco Poldi's avatar Francesco Poldi Committed by GitHub

Dev (#279)

* Update (#274)

* Fix json

* Added new data to meta

* Fix Target profile infos are scraped at each round

* Remove UserId()

* single user info

* clean comments

* clean

* add userlist lookup

* Fix search query

* add .csv, .json to .gitignore

* modify tweet timestamp

* removed --query

* fix date

* Update README

* Readme update

* Dynamic user agent + fixing retry bug (#271)

* Add dynamic user agent and bug fix

* Changed error message

Changed error message to clarify that this kind of errors is not expected and we are trying to solve them, it seems that Twitter tries to block our requests and lies about tweets existence

* Updated issue_template

* Add option for not printing output (#277)
parent 6598258b
......@@ -58,3 +58,4 @@ class Config:
Proxy_type = None
Retweets = False
Query = None
Hide_output = False
......@@ -73,11 +73,11 @@ def _output(obj, output, config, **extra):
if config.Store_object:
tweets_object.append(obj)
else:
try:
print(output)
pass
except UnicodeEncodeError:
print("unicode error [x] output._output")
if not config.Hide_output:
try:
print(output)
except UnicodeEncodeError:
print("unicode error [x] output._output")
async def tweetUserData(tweet,config, conn):
user_ids = set()
......
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