Skip to content

403 Error #64

@HeroponRikiBestest

Description

@HeroponRikiBestest

Trying to use my scripts today, I get

Traceback (most recent call last):
  File "/home/bestest/moddb-ex/modPlayFinal.py", line 6, in <module>
    search = moddb.search(
             ^^^^^^^^^^^^^
  File "/home/bestest/moddb-ex/venv/lib/python3.12/site-packages/moddb/base.py", line 73, in search
    html = get_page(
           ^^^^^^^^^
  File "/home/bestest/moddb-ex/venv/lib/python3.12/site-packages/moddb/utils.py", line 301, in get_page
    resp = request(requests.Request("GET", url, params=params))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bestest/moddb-ex/venv/lib/python3.12/site-packages/moddb/utils.py", line 128, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/bestest/moddb-ex/venv/lib/python3.12/site-packages/moddb/utils.py", line 260, in request
    raise_for_status(resp)
  File "/home/bestest/moddb-ex/venv/lib/python3.12/site-packages/moddb/utils.py", line 196, in raise_for_status
    response.raise_for_status()
  File "/home/bestest/moddb-ex/venv/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://www.moddb.com/downloads/page/1?filter=t&sort=released-asc&category=4

I did install a slew of python packages for another program in between yesterday and today, but I
I'm unsure if this is just on my end or not. Moddb still works in my browser; do you know if logins are necessary? Or, did something break?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions