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

TypeError: argument of type 'NoneType' is not iterable #2100

Open
meanjoep92 opened this issue May 23, 2024 · 3 comments
Open

TypeError: argument of type 'NoneType' is not iterable #2100

meanjoep92 opened this issue May 23, 2024 · 3 comments

Comments

@meanjoep92
Copy link

Traceback (most recent call last):
  File "C:\Users\sloopjohnb\Downloads\ArchivedUltimaScraper-7.6.1\start_ofd.py", line 104, in <module>
    asyncio.run(main())
  File "C:\Users\sloopjohnb\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "C:\Users\sloopjohnb\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete
    return future.result()
  File "C:\Users\sloopjohnb\Downloads\ArchivedUltimaScraper-7.6.1\start_ofd.py", line 86, in main
    api = await main_datascraper.start_datascraper(
  File "C:\Users\sloopjohnb\Downloads\ArchivedUltimaScraper-7.6.1\datascraper\main_datascraper.py", line 94, in start_datascraper
    await main_helper.process_names(
  File "C:\Users\sloopjohnb\Downloads\ArchivedUltimaScraper-7.6.1\helpers\main_helper.py", line 966, in process_names
    result = await module.start_datascraper(authed, username, site_name)
  File "C:\Users\sloopjohnb\Downloads\ArchivedUltimaScraper-7.6.1\modules\onlyfans.py", line 161, in start_datascraper
    await prepare_scraper(authed, site_name, item)
  File "C:\Users\sloopjohnb\Downloads\ArchivedUltimaScraper-7.6.1\modules\onlyfans.py", line 824, in prepare_scraper
    unrefined_set = await tqdm.gather(*tasks, **settings)
  File "C:\Users\sloopjohnb\AppData\Roaming\Python\Python310\site-packages\tqdm\asyncio.py", line 79, in gather
    res = [await f for f in cls.as_completed(ifs, loop=loop, timeout=timeout,
  File "C:\Users\sloopjohnb\AppData\Roaming\Python\Python310\site-packages\tqdm\asyncio.py", line 79, in <listcomp>
    res = [await f for f in cls.as_completed(ifs, loop=loop, timeout=timeout,
  File "C:\Users\sloopjohnb\AppData\Local\Programs\Python\Python310\lib\asyncio\tasks.py", line 575, in _wait_for_one
    return f.result()  # May raise f.exception().
  File "C:\Users\sloopjohnb\AppData\Roaming\Python\Python310\site-packages\tqdm\asyncio.py", line 76, in wrap_awaitable
    return i, await f
  File "C:\Users\sloopjohnb\Downloads\ArchivedUltimaScraper-7.6.1\modules\onlyfans.py", line 1128, in media_scraper
    if int(media_id) in new_post["preview_media_ids"]:
TypeError: argument of type 'NoneType' is not iterable

Been using an older version that's worked for years, simply because of the progress bar...

It's been working fine for the past few days but suddenly got this.

@ESMP
Copy link

ESMP commented May 23, 2024

Same here, was working fine just yesterday :(

@hojotis
Copy link

hojotis commented May 24, 2024

Is it solved? I also encountered the same problem

@naodrej
Copy link

naodrej commented Jun 13, 2024

Anyone figured how to fix this?

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

5 participants
@ESMP @naodrej @meanjoep92 @hojotis and others