Twitter-scraper-selenium

Latest version: v6.1.2

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

Scan your dependencies

2.0.0

<h3>Added:</h3>

- Added Time bases searches:
<html>
<body>
<!--StartFragment-->



<table role="table">
  <thead>
  <tr>
  <th>Class</th>
  <th>Operator</th>
  <th>Finds Tweets…</th>
  <th>Eg:</th>
  </tr>
  </thead>
  <tbody>
 <tr>
  <td>Time</td>
  <td><code class="notranslate">since_time:1142974200</code></td>
  <td>On or after a specified unix timestamp in seconds. Combine with the "until" operator for dates between. Maybe easier to use than <code class="notranslate">since_id</code> below.</td>
  <td><a href="https://twitter.com/search?q=since_time%3A1561720321%20until_time%3A1562198400%20%23nasamoontunes&amp;src=typed_query&amp;f=live" rel="nofollow"><g-emoji class="g-emoji" alias="link" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f517.png">🔗</g-emoji></a></td>
  </tr>
  <tr>
  <td> </td>
  <td><code class="notranslate">until_time:1142974215</code></td>
  <td>Before a specified unix timestamp in seconds. Combine with a "since" operator for dates between. Maybe easier to use than <code class="notranslate">max_id</code> below.</td>
  <td><a href="https://twitter.com/search?q=since_time%3A1561720321%20until_time%3A1562198400%20%23nasamoontunes&amp;src=typed_query&amp;f=live" rel="nofollow"><g-emoji class="g-emoji" alias="link" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f517.png">🔗</g-emoji></a></td>
  </tr>
  <tr>
  <td> </td>
  <td><code class="notranslate">since_id:tweet_id</code></td>
  <td>After (NOT inclusive) a specified Snowflake ID</td>
  <td><a href="https://twitter.com/search?q=since_id%3A1138872932887924737%20max_id%3A1144730280353247233%20%23nasamoontunes&amp;src=typed_query&amp;f=live" rel="nofollow"><g-emoji class="g-emoji" alias="link" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f517.png">🔗</g-emoji></a></td>
  </tr>
  <tr>
  <td> </td>
  <td><code class="notranslate">max_id:tweet_id</code></td>
  <td>At or before (inclusive) a specified Snowflake ID</td>
  <td><a href="https://twitter.com/search?q=since_id%3A1138872932887924737%20max_id%3A1144730280353247233%20%23nasamoontunes&amp;src=typed_query&amp;f=live" rel="nofollow"><g-emoji class="g-emoji" alias="link" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f517.png">🔗</g-emoji></a></td>
  </tr>
  <tr>
  <td> </td>
  <td><code class="notranslate">within_time:2d</code> <br> <code class="notranslate">within_time:3h</code> <br> <code class="notranslate">within_time:5m</code> <br> <code class="notranslate">within_time:30s</code></td>
  <td>Search within the last number of days, hours, minutes, or seconds</td>
  <td><a href="https://twitter.com/search?q=nasa%20within_time%3A30s&amp;src=typed_query&amp;f=live" rel="nofollow"><g-emoji class="g-emoji" alias="link" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f517.png">🔗</g-emoji></a></td>
  </tr>
  </tbody>
  </table>
  </td>
  </tr>
  </tbody>
  </table>
 

<br class="Apple-interchange-newline"><!--EndFragment-->
</body>
</html>

- Feature to set headless browser.



<h3>Dependencies Updates:</h3>

- Updated Selenium to version `4.3.0`
- Updated Selenium Wire to version `4.6.4`
- Updated Python Dateutil to version `2.8.2`

0.1.4

- Fix for 9

0.1.3

Patch:
- 4 Incorrect Tweet URL for retweet
- Incorrect post id of tweets if the tweet is retweet

0.1.2

Patch
- 3 Crawler failing to find tweet's ID.

0.1.0

- Ability to set proxy both authenticated as well as unauthenticated.
- Ability to scrape twitter's data by keyword as well as the hashtag.
- Ability to scrape twitter's profile.
- Firefox or Chrome browser can be used.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.