Comments (6)
True, I was speaking of these operators or am I just blind? π
Class | Operator | Finds Tweets⦠| Eg: |
---|---|---|---|
Time | since_time:1142974200 |
On or after a specified unix timestamp in seconds. Combine with the "until" operator for dates between. Maybe easier to use than since_id below. |
π |
Β | until_time:1142974215 |
Before a specified unix timestamp in seconds. Combine with a "since" operator for dates between. Maybe easier to use than max_id below. |
π |
Β | since_id:tweet_id |
After (NOT inclusive) a specified Snowflake ID | π |
Β | max_id:tweet_id |
At or before (inclusive) a specified Snowflake ID (see Note below) | π |
Β | within_time:2d within_time:3h within_time:5m within_time:30s |
Search within the last number of days, hours, minutes, or seconds | π |
from twitter-scraper-selenium.
Yeah, I've set it to start searching keywords from the last 24h from the current time. I see. it's a good proposal, I'll implement it to find from the current time itself. You may expect this change from the next release π
from twitter-scraper-selenium.
Thanks, appreciate it π
Another, question / suggestion: Time based searches? E.g. 2022-04-17-17:16:00
from twitter-scraper-selenium.
It doesn't depends on me but Twitter, if they've time based searches, it'll be possible to implement π
from twitter-scraper-selenium.
Seems possible: https://github.com/igorbrigadir/twitter-advanced-search/
Honestly, all the operators from the time class would be interesting to me π€
from twitter-scraper-selenium.
Search keywords based on some time, yeah it is already available. You can pass since and until the argument to scrap tweets within some time range.
For example:
from twitter_scraper_selenium import scrap_keyword
#scrap 10 posts by searching keyword "#nasa" from date 30th August,2021 till date 31st August,2021
nasa = scrap_keyword(keyword="#nasa", browser="firefox",
tweets_count=10,output_format="json" ,until="2021-08-31", since="2021-08-30")
print(nasa)
from twitter-scraper-selenium.
Related Issues (20)
- Scraping only 4 tweets no matter the tweet count HOT 1
- Failed to make request! HOT 7
- Not scraping every tweet from a user HOT 6
- These Functions will be removed on new release
- Unable to launch the lib HOT 2
- Proxy HOT 3
- How to show progress for the scraping process? Right now there is no indication that it works until it is all done.
- AttributeError: 'str' object has no attribute 'close' HOT 10
- More Examples and Documentation Needed HOT 1
- API rate limit exceeded with scrape_profile() function HOT 5
- login support before executing apis HOT 3
- Install help: selenium.common.exceptions.SessionNotCreatedException HOT 1
- why the very long wait in wait_until_completion( ) HOT 2
- scrape_keyword : search in array of keyword not just a string HOT 1
- The address returned by calling scrape_profile is wrongοΌ
- not enough values to. unpack HOT 1
- Are Musk,s new limitations impacting this module? HOT 8
- timeout exception HOT 3
- Tweets did not appear HOT 7
- Failed to make request! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitter-scraper-selenium.