Releases: DocNow/twarc
v.1.8.1
v1.8.0
This release includes a new command line option --app_auth
that lets you control whether App Auth is used for connecting to the Twitter API instead of User Auth (the default).
This can be super useful in cases when you know the rate limits are better for App Auth (search) but not so useful in cases where it isn't (hydration).
For example when using User Auth you are limited to issuing 180 request per 15 minutes, and with App Auth you can issue 450 requests per 15 minutes. If you are searching for a large number of tweets switching to App Auth means you can retrieve 4,320,000 tweets in 24 hours, as compared with 1,728,000.
v.1.7.5
This release includes a bug fix to the twarc.Twarc.replies
method that was preventing it from fully processing quoted tweets as part of the conversation thread. Many thanks to @freeatnet for noticing the problem and fixing it!
v1.7.3
v1.7.1
v1.7.1 adds the ability to filter tweets on language. You can use from the command line, with one or more --lang arguments. So for example this will filter tweets that mention Paris or Madrid that are written in French or Spanish.
twarc filter paris,madrid --lang es --lang fr
You can also use programmatically:
for tweet in t.filter('paris,madrid', lang=['es', 'sp']):
print(tweet['full_text'])
Thanks for the idea @tugrulz and for your patience!
v1.7.0
Includes a new Twarc method oembed() which will return the oEmbed JSON for a given tweet. Thanks for the contribution @dshahrokhian!
v1.6.4
v1.6.3
This release includes improved logging which uses a named logger twarc
instead of the root logger. Thanks @justinlittman!