diff options
| author | 2023-11-04 18:45:48 -0400 | |
|---|---|---|
| committer | 2023-11-04 18:45:48 -0400 | |
| commit | 7997fa94c82f9a6db63421c0af433f325a8aa607 (patch) | |
| tree | 25e8377f1d038f8dad93e2c54c12beacbc65f470 /gallery_dl/extractor/weibo.py | |
| parent | e052f3b9e1d9703a5a466daeaf37bacf476c2daf (diff) | |
New upstream version 1.26.2.upstream/1.26.2
Diffstat (limited to 'gallery_dl/extractor/weibo.py')
| -rw-r--r-- | gallery_dl/extractor/weibo.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gallery_dl/extractor/weibo.py b/gallery_dl/extractor/weibo.py index 168d5a0..ed05e1f 100644 --- a/gallery_dl/extractor/weibo.py +++ b/gallery_dl/extractor/weibo.py @@ -191,7 +191,7 @@ class WeiboExtractor(Extractor): headers = {"Referer": response.url} data = { "cb": "gen_callback", - "fp": '{"os":"1","browser":"Gecko91,0,0,0","fonts":"undefined",' + "fp": '{"os":"1","browser":"Gecko109,0,0,0","fonts":"undefined",' '"screenInfo":"1920*1080*24","plugins":""}', } @@ -203,8 +203,8 @@ class WeiboExtractor(Extractor): params = { "a" : "incarnate", "t" : data["tid"], - "w" : "2", - "c" : "{:>03}".format(data["confidence"]), + "w" : "3" if data.get("new_tid") else "2", + "c" : "{:>03}".format(data.get("confidence") or 100), "gc" : "", "cb" : "cross_domain", "from" : "weibo", |
