-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi,
thanks for taking the time to create this little script. I was just searching for an easy way to export my data and found this. I followed the guide and everything went smoothly, but the script failed with the following error:
$ python imdb_backup.py --nopause
Successfully logged in as user ur123456789
Traceback (most recent call last):
File "/Users/myuser/imdb-backup-lists-main/imdb_backup.py", line 214, in <module>
pause_before_exit_unless_run_with_flag()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/Users/myuser/imdb-backup-lists-main/imdb_backup.py", line 210, in pause_before_exit_unless_run_with_flag
backup(cookie_path=args.path)
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/myuser/imdb-backup-lists-main/imdb_backup.py", line 170, in backup
zip_all(export(ml, cookies) for ml in mlists)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/myuser/imdb-backup-lists-main/imdb_backup.py", line 153, in zip_all
for ml in mlists:
^^^^^^
File "/Users/myuser/imdb-backup-lists-main/imdb_backup.py", line 170, in <genexpr>
zip_all(export(ml, cookies) for ml in mlists)
^^^^^^
File "/Users/myuser/imdb-backup-lists-main/imdb_backup.py", line 100, in fetch_lists_info
r.raise_for_status()
~~~~~~~~~~~~~~~~~~^^
File "/Users/myuser/imdb-backup-lists-main/venv/lib/python3.13/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.imdb.com/user/ur123456789/lists
(I replaced my user ID with ur123456789 for privacy reasons, but I can confirm that the ID is correct and the same as in the browser.)
I also tried to login again in another browser, it seems that only at-main was changing. However, the error persists. I would like to ask if there's something wrong with the script, or if that's caused by some account setting?
Metadata
Metadata
Assignees
Labels
No labels