mx-psi / fa-scraper

A FilmAffinity web scraper compatible with Letterboxd
GNU General Public License v3.0
17 stars 9 forks source link

"TypeError: 'NoneType' object is not callable" when trying to download lists #125

Closed kehoan78 closed 1 month ago

kehoan78 commented 2 months ago

I'm unable to download lists due to this error:

OS: Windows 10

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\PC\AppData\Local\Programs\Python\Python312\Scripts\fa-scraper.exe__main__.py", line 7, in File "C:\Users\PC\AppData\Local\Programs\Python\Python312\Lib\site-packages\fa_scraper\cli.py", line 78, in main save_to_csv(data, fieldnames, export_file) File "C:\Users\PC\AppData\Local\Programs\Python\Python312\Lib\site-packages\fa_scraper\fa_scraper.py", line 217, in save_to_csv for d in dicts: File "C:\Users\PC\AppData\Local\Programs\Python\Python312\Lib\site-packages\fa_scraper\fa_scraper.py", line 174, in get_list_data "Year": title.next_sibling.strip()[1:-1], ^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'NoneType' object is not callable

Thanks for your help.

mx-psi commented 1 month ago

@kehoan78 Hey, can you send me your user id? You can send it to me through any of the possibilities listed at https://mx-psi.github.io/contact/

mx-psi commented 1 month ago

Actually, I am reasonably sure that this was fixed by #123, so I am going to close this