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

Support forbidden error #2

Open
MewX opened this issue Jan 27, 2023 · 1 comment
Open

Support forbidden error #2

MewX opened this issue Jan 27, 2023 · 1 comment
Assignees

Comments

@MewX
Copy link
Member

MewX commented Jan 27, 2023

2023/01/27 21:46:35 Request URL: https://www.douban.com/people/mewcatcher/
Error: Forbidden
2023/01/27 21:46:35 Unknown error with request body:  <html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>豆瓣 - 登录跳转页</title>
    <style type="text/css">
        body{font-family:Arial,Helvetica,sans-serif;font-size:14px;}
        h1{font-size:25px;margin:25px 0 10px 0;}
    </style>
</head>
<body>
    <div>
        <div style="margin:20px auto;">
            <div style="font-size:25px;color:#1b9336;border-bottom:5px solid #eef9eb">
                <span style="font-size:20px;font-weight:bold">豆瓣</span> d<span style="color:#0092c8">o</span><span style="color:#ffad68">u</span><span>b</span><span style="color:#0092c8">a</span><span style="color:#ffad68">n</span>
            </div>
            <h1>登录跳转</h1>
            <div><p>有异常请求从你的 IP 发出,请 <a href="https://accounts.douban.com/passport/login?redir=https%3A%2F%2Fwww.douban.com%2Fpeople%2Fmewcatcher%2F">登录</a> 使用豆瓣</p></div>
        </div>
    </div>
</body>
</html>


2023/01/27 21:46:35 FAILED
2023/01/27 21:46:35 user 'mewcatcher' does not exist
@MewX MewX self-assigned this Jan 27, 2023
@MewX
Copy link
Member Author

MewX commented Jan 27, 2023

Not sure why browser works fine. Essentially:

  • changing IP is the quickest way
  • using selenium is backup option.

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

1 participant