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

需要登录的版无法查看图片 #8

Open
lihk11 opened this issue Feb 2, 2020 · 2 comments
Open

需要登录的版无法查看图片 #8

lihk11 opened this issue Feb 2, 2020 · 2 comments

Comments

@lihk11
Copy link

lihk11 commented Feb 2, 2020

比如,特快。


感谢作者写了这么好用的客户端,并且还开源了。

@jejayhe
Copy link

jejayhe commented May 3, 2020

curl -H 'Host: att.newsmth.net' -H 'Accept: image/*;q=0.8' -H 'Accept-Language: en-us' -H 'User-Agent: iZSM/558 CFNetwork/1121.2.2 Darwin/19.3.0' --compressed 'https://att.newsmth.net/nForum/att/NewExpress/23515213/216'

response header:
HTTP/1.1 200 OK
Server nginx/1.17.6
Date Sun, 03 May 2020 11:17:33 GMT
Content-Type text/html;charset=GBK
Transfer-Encoding chunked
Set-Cookie main[UTMPUSERID]=guest; path=/; domain=.newsmth.net
Set-Cookie main[UTMPKEY]=31772912; path=/; domain=.newsmth.net
Set-Cookie main[UTMPNUM]=3010; path=/; domain=.newsmth.net
Content-Encoding gzip
X-Cache-Status MISS
Connection keep-alive

期待的返回应该是 X-Cache-Status 为hit,Content-Type为image

请求改成如下url可成功。
curl -H 'Host: www.newsmth.net' -H 'Accept: image/*;q=0.8' -H 'Accept-Language: en-us' -H 'User-Agent: iZSM/558 CFNetwork/1121.2.2 Darwin/19.3.0' --compressed 'https://www.newsmth.net/nForum/att/NewExpress/23515213/216/large'

@lihk11
Copy link
Author

lihk11 commented May 9, 2020

最近貌似特快有不少的图可以看了,不知道是什么原因

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

No branches or pull requests

2 participants