Twarc

Latest version: v2.14.0

Safety actively analyzes 638418 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 15 of 22

1.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:

python
for tweet in t.filter('paris,madrid', lang=['es', 'sp']):
print(tweet['full_text'])


Thanks for the idea tugrulz and for your patience!

1.7.0

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

1.6.4

* bug fix for `Twarc.lookup_users`

1.6.3

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

1.6.2

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

1.5.2

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

Page 15 of 22

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.