-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
I was informed that I do not have permission to view when trying to download images and videos that are only visible to followers on Weibo. But I have already followed that user.
PS C:\Users\23765> gallery-dl -v https://weibo.com/7801785843/OFK2nfKYO [gallery-dl][debug] Version 1.27.7 [gallery-dl][debug] Python 3.10.6 - Windows-10-10.0.19045-SP0 [gallery-dl][debug] requests 2.32.0 - urllib3 2.2.3 [gallery-dl][debug] Configuration Files ['%USERPROFILE%\\gallery-dl\\config.json'] [gallery-dl][debug] Starting DownloadJob for 'https://weibo.com/7801785843/OFK2nfKYO' [weibo][debug] Using WeiboStatusExtractor for 'https://weibo.com/7801785843/OFK2nfKYO' [weibo][debug] Loading cookies from 'C:/Users/23765/gallery-dl/cookies.txt' [urllib3.connectionpool][debug] Starting new HTTPS connection (1): weibo.com:443 [urllib3.connectionpool][debug] https://weibo.com:443 "GET /ajax/statuses/show?id=OFK2nfKYO HTTP/11" 200 58 [weibo][debug] {'ok': 0, 'message': '暂无查看权限', 'error_code': 20112} [weibo][error] NotFoundError: Requested status could not be found [weibo][debug] Traceback (most recent call last): File "F:\Python\lib\site-packages\gallery_dl\job.py", line 151, in run for msg in extractor: File "F:\Python\lib\site-packages\gallery_dl\extractor\weibo.py", line 60, in items for status in self.statuses(): File "F:\Python\lib\site-packages\gallery_dl\extractor\weibo.py", line 359, in statuses raise exception.NotFoundError("status") gallery_dl.exception.NotFoundError: Requested status could not be found
my config.json,not sure if there is an issue.
`{
"extractor":
{
"base-directory": "E:/图片/微博",
"parent-directory": false,
"postprocessors": null,
"archive": null,
"cookies": "C:/Users/23765/gallery-dl/cookies.txt",
"cookies-update": true,
"proxy": null,
"skip": true,
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0",
"retries": 4,
"timeout": 30.0,
"verify": true,
"fallback": true,
"sleep": 0,
"sleep-request": 0,
"sleep-extractor": 0,
"path-restrict": "auto",
"path-replace": "_",
"path-remove": "\\u0000-\\u001f\\u007f",
"path-strip": "auto",
"path-extended": true,
"extension-map": {
"jpeg": "jpg",
"jpe" : "jpg",
"jfif": "jpg",
"jif" : "jpg",
"jfi" : "jpg"
},
"weibo":
{
"livephoto": true,
"retweets": true,
"videos": true,
"headers": {
"Referer": "https://weibo.com/"
},
"filename": "{status[date]} {status[text_raw]}_{num:>02}.{extension}",
"directory": ["weibo", "{user[screen_name]}"]
}
},
"downloader":
{
"filesize-min": null,
"filesize-max": null,
"mtime": true,
"part": true,
"part-directory": null,
"progress": 3.0,
"rate": null,
"retries": 4,
"timeout": 30.0,
"verify": true,
"http":
{
"adjust-extensions": true,
"chunk-size": 32768,
"headers": null,
"validate": true
},
"ytdl":
{
"format": null,
"forward-cookies": false,
"logging": true,
"module": null,
"outtmpl": null,
"raw-options": null
}
},
"output":
{
"mode": "auto",
"progress": true,
"shorten": true,
"ansi": false,
"colors": {
"success": "1;32",
"skip" : "2"
},
"skip": true,
"log": "[{name}][{levelname}] {message}",
"logfile": null,
"unsupportedfile": null,
"format": "{category}/{user[screen_name]}/{user[screen_name]}_{status[id]}_{num:>02}.{extension}"
},
"netrc": false
}`
My cookies are exported through Edge's Export Cookies File plugin
thanksthanksthanksthanks