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

沪江小D和Urban Dictionary異常 #1766

Open
reira777 opened this issue Jun 16, 2022 · 2 comments
Open

沪江小D和Urban Dictionary異常 #1766

reira777 opened this issue Jun 16, 2022 · 2 comments
Labels
bug Bugs that can't be muddled through.

Comments

@reira777
Copy link

reira777 commented Jun 16, 2022

设备信息

  • 操作系统: [win7]
  • 浏览器版本: [Google Chrome 版本 102.0.5005.115]
  • 沙拉查词版本: [v7.20.0]

描述问题

Urban Dictionary從兩個月前就無法反白查詢
本周沪江小D也無法查詢

复现步骤

一如既往反白單字後點擊沙拉圖案搜尋,其他字典能正常顯示結果,但上述兩個無法。
點擊該字典的名字字動開啟該字典的官方網頁後,Urban可以正常顯示搜尋結果,沪江小D則無法。
判斷是沪江小D該頁面搜尋有問題,若從沪江小D的首頁搜尋則可正常顯示結果。

期待的正常行为

反白後如同其他字典,可正常顯示結果
感謝!

截图

额外信息

@muchqs
Copy link

muchqs commented Jun 21, 2022

顶。Urban Dictionary 确实好久不能用了。

@crimx crimx added the bug Bugs that can't be muddled through. label Jun 21, 2022
@MaiTestarossa
Copy link

MaiTestarossa commented Jun 22, 2022

沪江最近几天看上去像是反爬升级了,触发了时候页面上也要查2次才能获得释义(页面能正常查询的情况(类似解除了反爬限制),沙拉也能正常查到)
我用anki爬词用的下面的请求,基本上没出现触发反爬的现象。

https://github.com/ootvt/hjdict/blob/main/hjdict.py

get_requests=requests.get(url,timeout=5,headers = {
    "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36",
    "upgrade-insecure-requests": "1",
    "referer": "https://dict.hjenglish.com/",
    "cookie": "HJ_UID=b1b80aa2-7817-a147-201a-06ad22414eaa; \
                    HJ_SID=f5d5c06c-b8a5-9710-2c6a-e2ad58ebbcd7; \
                    "
        })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs that can't be muddled through.
Projects
None yet
Development

No branches or pull requests

4 participants