Skip to content

Releases: DocNow/twarc

v.1.8.1

06 Apr 12:08
db74be5
Compare
Choose a tag to compare

We've seen a report of requests.exceptions.ChunkedEncodingError getting thrown occasionally. This commit catches those. Thanks for the bug report @mthielk

v1.8.0

24 Mar 17:58
1f38872
Compare
Choose a tag to compare

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

28 Oct 09:17
Compare
Choose a tag to compare

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

31 May 18:32
Compare
Choose a tag to compare

v1.7.3 includes a new max_pages parameter on the Twarc.friend_ids and Twarc.follower_ids for more control over how many API requests are performed behind the scenes. Thanks to @FlxVctr for this contribution!

v1.7.1

22 May 19:33
Compare
Choose a tag to compare

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

30 Apr 20:37
Compare
Choose a tag to compare

Includes a new Twarc method oembed() which will return the oEmbed JSON for a given tweet. Thanks for the contribution @dshahrokhian!

v1.6.4

10 Apr 17:39
Compare
Choose a tag to compare
  • bug fix for Twarc.lookup_users

v1.6.3

13 Mar 00:21
Compare
Choose a tag to compare

This release includes improved logging which uses a named logger twarc instead of the root logger. Thanks @justinlittman!

v1.6.2

01 Mar 21:59
Compare
Choose a tag to compare

Added the ability to fetch the authenticating user's home timeline with the timeline command when no user id or screen name is supplied.

twarc timeline > timeline.jsonl

v1.5.2

07 Aug 17:37
Compare
Choose a tag to compare

This release improves the media URL reporting in the CSV output #239. Thanks to @lotsoaxolotls for reporting it.