-
-
Notifications
You must be signed in to change notification settings - Fork 975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[twitter] accounts getting suspended #6020
Comments
Been running into the same thing myself- lost three accounts over the last week and change. I'm planning to let it rest a week or so before trying to make any more accounts, on the suspicion that my IP had been flagged for enhanced scrutiny. I figure if may be a temporary thing and if I back off for a little I might be okay to try again with a more cautious set of values for I also suspect that time of use may be a factor, so I was planning to only schedule my script to only the extractor during local daytime hours, in case the scraper running overnight was tripping some kind of suspicious-activity alert. |
Post your configuration. Switch IP address. Don't use |
Maybe you can elaborate on what you mean here about not using And maybe you could also prove some more helpful advice on how to actually get an ISP to issue a new IP? As far as I'm aware most of them use DHCP, so a release+renew at the gateway will just pull the same address, and I have no interest in leaving my modem disconnected for long enough that the lease expires. At any rate, at command line, I'm just using
|
|
I just made a new account over another IP and used that IP to download from one single user. My account got suspended almost immediately after the download finished! I don't know what to do. |
same here, my account got suspended, twitter must have been noticing this |
twitter is unusable now and I can't make a new account for each user download... |
I've had an account suspended as well. Not sure what my sleep values were, unfortunately, as I increased them since then. A related issue: #5775 |
Anyone who doesn't get suspended? Is there nothing I can do? |
I just kept appealing but I think they are ignoring me now so |
does it work for you now? |
Hoping that a fix for this comes out soon. Have not been able to back up in a while and artists from Brazil have started to delete their accounts, or have already. Any help would be appreciated. Account got locked but not banned. |
That can't be it, or at least not the whole picture, because the first account I used with GDL, and consequently the first one I lost, was my daily-driver personal account. |
I haven't used my account in weeks now and it's still been downloading 24/7 successfully. Even when I "used" my account I was just browsing art or looking for accounts to download without tweeting or retweeting. |
What region/country are you located in? Do you have 2fa activated, with phone or something? Trying to figure out the link between all of these inconsistent recommendations. |
I'm in the west coast USA. I don't have 2FA enabled. I have a phone number on the account but it's a Google voice number which means it's a VOIP number which I assume is the type of number the bot people use. I have a dynamic IP and have never used a VPN or proxy with this specific account. Before Elon Musks takeover I filled a 14TB drive with the drive speed being the bottleneck which means I was going extremely fast. I say that because that surely should have caused some red flags on their end. Unfortunately almost none of those accounts were relevant so I switched to whitelisting which accounts I download. I said the following in a related issue (#5775)
|
Im guessing that that is as a result of having a legacy twitter developer account... ugh. Might have to give applying for one a shot, but they watch what you do and I dont even know what I would say in the 250 character application. |
I applied for the API thing and immediately got access to the developer section, so apparently it isn't a "wait for approval" type application. Going to give it a try sometime later, but I still have hard API limits. |
Wow, they really really want you to use a browser to scrape with? Seems kind of backwards. So if you use Selenium, what happens? I'm wondering if they're using a JS version of a canary warrant. There's code you can run on the server that expects certain responses (i.e. anti-adblocker methods), for example. Not sure the "order of headers" is too useful now, since browsers all seem to be moving to randomizing the order. Do people get these same bans if they use a userscript method? I'm actually curious what they're doing that triggers the bans. Of course, they don't want you to know. ;) Watch it be something stupidly simple because they only have to get it right, once. |
i have been scraping from twitter for near a year, and only lost two accounts for reasons unrelated to g-dl my config:
|
I tried this from your config but didn't work it doesn't log in "authentication required" {
} |
but with this value you use "sleep": [24.9, 45.2], it takes forever to download one entire user profile! |
are you using a cookies file? twitter requires logging in to view most profiles nowadays I use an chrome extension
yes it can take some time; i haven't played much with the sleep times but they can probably go lower without risk to the account being banned |
also, my config for twitter will download text tweets too, and makes a json file for all tweets. |
I havent really used cookies before, am I doing this right? my browser is operagx, I can switch if needed I have other browsers installed code pasted into .conf file with twittercookie.txt being a copy paste of what I got from rawcookies.txt },
"twitter": {
"parent-directory": "true",
"skip": "abort:3",
"cookies": "C:\Users\UserProfile\AppData\Roaming\gallery-dl\twittercookie.txt",
"sleep": [24.9, 45.2],
"sleep-request": [23.8, 52.6],
"image-filter": "author is user",
"logout": true,
"syndication": true,
"text-tweets": false,
"include": ["avatar","background","media","timeline"],
"directory": {
"count ==0":["Twitter","downloads","{author[id]}.{author[name]}","text_tweets"],
"": ["Twitter","downloads","{author[id]}.{author[name]}","media"]
},
"filename": "{date:%Y-%m-%d_%H-%M-%S}~_~{tweet_id}-{num}.{author[name]}_~{content[0:69]}~_~{filename}.{extension}",
"avatar": {
"directory": ["Twitter","downloads","{author[id]}.{author[name]}","media","avatar"],
"filename": "{date:%Y-%m-%d_%H-%M-%S}_avatar_{author[id]}.{author[name]}~_~{filename}.{extension}"
},
"background": {
"directory": ["Twitter","downloads","{author[id]}.{author[name]}","media","background"],
"filename": "background_{date:%Y-%m-%d_%H-%M-%S}~_~{filename}.{extension}"
},
"metadata": true,
"postprocessors": [{
"name": "metadata",
"event": "post",
"directory": "metadata",
"filename": "{date:%Y-%m-%d_%H-%M-%S}~_~{tweet_id}.{author[name]}~_~{content[0:69]}.json"
}]
}
} I then do a basic download such as And I get a response of |
can you run it again but add -v at the end of the command |
|
You config file is not getting loaded. Make sure it is at one of the locations listed here or by |
|
You can't use single backslashes for filesystem paths in a JSON file. You need to either double them "cookies": "C:\\Users\\JamesD\\AppData\\Roaming\\gallery-dl\\twittercookie.txt",
"cookies": "C:/Users/JamesD/AppData/Roaming/gallery-dl/twittercookie.txt", |
|
Your config file is still not valid JSON, therefore it is not loaded/used at all. |
Thanks for the site, I had the json ending with
fixed when I changed it to
|
Thanks. With these values "sleep": [24.9, 45.2], it takes you three days to download 500 profiles? How? I lowered them, didn't get banned yet. |
i updated to these values:
and got through 400 profiles in about 16hr |
Same used to get prove your human alot now never, Its weird. the account I use to download is even suspended and it just doesnt care |
I stole a great deal of this and it works pretty damn well. One question though, what is syndication? Cant find it in the configuration docs here: https://gdl-org.github.io/docs/configuration.html |
i'm using main twitter account, it dont even getting suspended for many years, but the one thing is rate limit lol. if you using clone account, etc.. it's highly getting suspended |
two accounts got suspended in a matter of days and downloading a few user profile's media. is this problem solvable? anyone else with this problem?
The text was updated successfully, but these errors were encountered: