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

知乎更新,60s 接口返回的文本错乱 #8

Closed
Li1Fan opened this issue Jun 16, 2024 · 14 comments
Closed

知乎更新,60s 接口返回的文本错乱 #8

Li1Fan opened this issue Jun 16, 2024 · 14 comments
Assignees
Labels
bug Something isn't working

Comments

@Li1Fan
Copy link

Li1Fan commented Jun 16, 2024

{"status":200,"message":"所有数据均来自官方,确保稳定与实时。代码开源地址: https://github.com/vikiboss/60s","data":["1、 国许惜撼汗:睹涉撒晦拉吟挺辉情扬记锚用杀柔蜈记录。","2、 孔搭委:鞋三成3岁芍汪婴改实赔违有宣住坡求,托励服梅关哩度持敢靡升。","3、 拥陆对谱134幌来在减矮6月15日起中品,专嫌:游隙挂墨齿渗注受冲悯。","4、 秫跨沪糕浙漓抑省番市!咬频支超级环怀高铁羞式嵌一。","5、 穿甘懊罐!2024皮史交做汽车殷运托动在江苏嘲菲。","6、 广啊北海麦布:综巫浅政关法推撤销,竿讽上计相剥舵奴部团承轨。","7、 洗安回应“农焚大纱罚年晒臀吆”:各坛孕应搭峡农关尝经义酸破染。","8、 让王祭三思欺逆沦!螃易女染3-2裹界第蕾熔歇虏,晋级世历赛囊决赛。","9、 婿境楣持续栖戴:出椭誊办证加开夜场,蹈董商宝葵锯辕绽宏排长队。","10、 仿跳羽派:2025年苏岁壹暇蓄蝠释门举行。","11、 马斯韧:必须篷辙挡核战爆灶郎艘现砂民母星,确保出类兔明仓严痰锨。","12、 江凤鼓莺:30天内窥下忆超30万数祭,应对俄缺档销泰。","13、 欧珠“佳则同意”烧揭址澡藻兰餐籽盟唤班。","14、 G7答表联合先与娇竞俄向丸赡偿泌4860亿晤元厘失,俄护暂纳回应。","15、 韩孵雅疗坪嫉定面罢工,多鬼狡生团秽声裤守外棒者拒漱根奢。","【湿语】先剥峰摊,鸟轨彼室,漫筷长最,扇有回扼,余溺苦俊,兢有回柒。紧母。"]}

@Li1Fan Li1Fan changed the title 60s接口返回数据乱码 60s接口返回数据异常 Jun 16, 2024
@vikiboss
Copy link
Owner

vikiboss commented Jun 16, 2024

我这边看专栏数据已经混乱了,貌似就是这几天的事情。 https://www.zhihu.com/column/c_1715391799055720448

image

@vikiboss
Copy link
Owner

只能说,又一个数据源倒下了...

@vikiboss vikiboss pinned this issue Jun 16, 2024
@zazjaya
Copy link

zazjaya commented Jun 17, 2024

image
我现在看zhuanla专栏数据好像正常的耶 但是接口数据还是错乱的

@vikiboss
Copy link
Owner

image 我现在看zhuanla专栏数据好像正常的耶 但是接口数据还是错乱的

🤔️ 我靠,还有这种事

@vikiboss
Copy link
Owner

vikiboss commented Jun 17, 2024

我海外访问真就是乱的,不像乱码,只是文本是乱的。可能跟 ip 什么的有关系,等我空了去看看怎么个事。

@zazjaya
Copy link

zazjaya commented Jun 17, 2024

好滴 大佬辛苦了

@vikiboss
Copy link
Owner

好滴 大佬辛苦了

你尝试开个无痕模式,打开 https://www.zhihu.com/api/v4/columns/c_1715391799055720448/items 试试

@vikiboss
Copy link
Owner

image

66666

@zazjaya
Copy link

zazjaya commented Jun 17, 2024

好像无痕模式就那个样子了,正常模式打开是正常的emmm

@vikiboss
Copy link
Owner

可能是 🐶 zhi hu 干了什么

@zazjaya
Copy link

zazjaya commented Jun 17, 2024

🐶 zhi hu

@vikiboss vikiboss changed the title 60s接口返回数据异常 知乎更新,60s 接口返回的文本错乱 Jun 17, 2024
@vikiboss vikiboss added the bug Something isn't working label Jun 17, 2024
@vikiboss vikiboss self-assigned this Jun 17, 2024
@Li1Fan
Copy link
Author

Li1Fan commented Jun 20, 2024

url = 'https://www.zhihu.com/api/v4/columns/c_1715391799055720448/items'
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3'}
res = requests.get(url, headers=headers)
print(res.text)

这么直接请求倒是正常的

@vikiboss
Copy link
Owner

vikiboss commented Jun 20, 2024

url = 'https://www.zhihu.com/api/v4/columns/c_1715391799055720448/items'
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3'}
res = requests.get(url, headers=headers)
print(res.text)

这么直接请求倒是正常的

image

确实能正常拿到,但貌似现在这个问题官方不存在了...

现在数据一切正常,API 可正常使用。

@Li1Fan
Copy link
Author

Li1Fan commented Jun 20, 2024

难评

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants