Skip to content
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

[Bug] Weibo banned accounts infinite reattempt. #2521

Closed
pxssy opened this issue Apr 22, 2022 · 0 comments
Closed

[Bug] Weibo banned accounts infinite reattempt. #2521

pxssy opened this issue Apr 22, 2022 · 0 comments

Comments

@pxssy
Copy link

pxssy commented Apr 22, 2022

Have a list of IDs that i regularly update.

However, some has been banned, and their account page become empty. This seizes up gallery-dl as it reattempts infinitely.

An example is https://weibo.com/u/7500315942 . The reply appears to make no difference between a legit but banned ID and a random (but unused ID)

output:

gallery-dl --verbose https://weibo.com/u/7500315942
[10][DEBUG] <init.py> <C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\gallery_dl_init_.py> <Version 1.21.1>
[10][DEBUG] <init.py> <C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\gallery_dl_init_.py> <requests 2.25.1 - urllib3 1.26.4>
[10][DEBUG] <init.py> <C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\gallery_dl_init_.py> <Starting DownloadJob for 'https://weibo.com/u/7500315942'>
[10][DEBUG] <job.py> <C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\gallery_dl\job.py> <Using WeiboUserExtractor for 'https://weibo.com/u/7500315942'>
[10][DEBUG] <urllib3.connectionpool> <connectionpool.py> <C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py> <Starting new HTTPS connection (1): m.weibo.cn:443>
[10][DEBUG] <urllib3.connectionpool> <connectionpool.py> <C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py> <https://m.weibo.cn:443 "GET /api/container/getIndex?type=uid&value=7500315942&containerid=1076037500315942 HTTP/1.1" 200 None>
[10][DEBUG] <urllib3.connectionpool> <connectionpool.py> <C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py> <https://m.weibo.cn:443 "GET /api/container/getIndex?type=uid&value=7500315942&containerid=1076037500315942 HTTP/1.1" 200 None>
[10][DEBUG] <urllib3.connectionpool> <connectionpool.py> <C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py> <https://m.weibo.cn:443 "GET /api/container/getIndex?type=uid&value=7500315942&containerid=1076037500315942 HTTP/1.1" 200 None>
[10][DEBUG] <urllib3.connectionpool> <connectionpool.py> <C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py> <https://m.weibo.cn:443 "GET /api/container/getIndex?type=uid&value=7500315942&containerid=1076037500315942 HTTP/1.1" 200 None>
[10][DEBUG] <urllib3.connectionpool> <connectionpool.py> <C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py> <https://m.weibo.cn:443 "GET /api/container/getIndex?type=uid&value=7500315942&containerid=1076037500315942 HTTP/1.1" 200 None>
[10][DEBUG] <urllib3.connectionpool> <connectionpool.py> <C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py> <https://m.weibo.cn:443 "GET /api/container/getIndex?type=uid&value=7500315942&containerid=1076037500315942 HTTP/1.1" 200 None>
[10][DEBUG] <urllib3.connectionpool> <connectionpool.py> <C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py> <https://m.weibo.cn:443 "GET /api/container/getIndex?type=uid&value=7500315942&containerid=1076037500315942 HTTP/1.1" 200 None>
[10][DEBUG] <urllib3.connectionpool> <connectionpool.py> <C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py> <https://m.weibo.cn:443 "GET /api/container/getIndex?type=uid&value=7500315942&containerid=1076037500315942 HTTP/1.1" 200 None>
[10][DEBUG] <urllib3.connectionpool> <connectionpool.py> <C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py> <https://m.weibo.cn:443 "GET /api/container/getIndex?type=uid&value=7500315942&containerid=1076037500315942 HTTP/1.1" 200 None>
[10][DEBUG] <urllib3.connectionpool> <connectionpool.py> <C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py> <https://m.weibo.cn:443 "GET /api/container/getIndex?type=uid&value=7500315942&containerid=1076037500315942 HTTP/1.1" 200 None>=

It reattempts it infinitely, despite a 4 reattempt limit in the config.

I've got a list of IDs, and when it gets stuck, i have to force skip it manually. Please put some skip after perhaps say 4 attempts of 200 None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants