Comments (5)
This would allow large lists of users to be downloaded a little bit at a time over a longer period, with a gap between each run in order to not trigger API limits.
I thought about it. But we don't know when to expect the limits to be reset.
The downloader doesn't know who sends users there to download: the user (manually) or scheduler. The user class's internal functions also don't considering who downloads the user. I was thinking of adding a property (e.g. FromScheduler
) to the class, but for abstraction purposes this property will be changed for all selected classes (users). The site may not be available to download at the moment or may be disabled by the user. So this property will remain with a wrong value. In this case I need to add a reset function to many functions. So I added a property that allows you to set the number of users from the start of the selection or from the end. But in really it didn't give me what I expected.
On the other hand, in order to implement wait timers as you asked, I need to change the scheduler. In this case, one task will not be stopped and will conflict with other plans, if they exist.
I recommend grouping users and adding different plans. Add the label Group 1
for the first 60 (for example), Group 2
for the next 60, etc. Then create new scheduler plans (specified with labels Group 1
, Group 2
, etc) with a different delay value so that when you run SCrawler, each next plan (of Twitter users) is delayed by some time compared to the first one (of Twitter users). If you have any plans that include non-Twitter users, I recommend adding an excluded site (Twitter) there to prevent Twitter users from downloading (in those plans).
from scrawler.
I understand, I was just hoping to avoid creating a bunch of groups and automations for Twitter, on average the API limit triggers after 2-4 users, so I'll need to create a new group probably for every 3 users.
from scrawler.
I think 3 users is too few. Maybe you should try more?
from scrawler.
It's dependent on how many new files there are to download for each user, but even if every user has 0 new files, I still hit a limit after 10 users. If each user has a few (10-20) new files to download, I hit a limit after on average 4 users, and if a user has a few hundred then I'll hit the limit after just 1 user.
from scrawler.
Actually, it doesn't depend on the files, but on how many requests were made to the site and how many posts the site returned with a response. For one request the site returns 20-25 posts. So to get the "limit" it's about 20-24 requests (600/25).
from scrawler.
Related Issues (20)
- Can't download any pictures etc from twitter HOT 17
- [BUG] Twitter Download Invalid JSON primitive HOT 1
- Fault Bucket type 0 when opening via Flash Drive HOT 1
- Not able to fetch saved posts for Reddit acc HOT 5
- [BUG] PH downloads have multiple little pauses throughout the video HOT 5
- Auto Update Scrawler Batch File HOT 2
- OnlyFans error 400 or 401 since latest update HOT 1
- Need help - Understanding reddit integration HOT 2
- Stories (user) downloading wrong aspect ratio for some users HOT 1
- JustForFans not downloading all media HOT 1
- Instragram Partial Rip HOT 4
- Not all instagram reels are being downloaded HOT 1
- [BUG] xhamster - not downloading anything HOT 2
- Videos download to _tmpCache then disappear HOT 1
- [BUG] INFO files (description,thumbnail,URL) not downloaded for some YouTube videos HOT 6
- [BUG] Twitter - not found on site HOT 1
- [BUG] Network Location Ignored HOT 2
- RedGifs keeps downloading random videos unrelated to selected profile. HOT 16
- [REQUEST] YouTube Downloader : Add YouTube video UPLOAD DATE to the INFO > Description .txt-file HOT 3
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 scrawler.