DIGITALCRIMINAL / ArchivedUltimaScraper

Scrape content from OnlyFans and Fansly
GNU General Public License v3.0
945 stars 39 forks source link

[7.6.1] index out of range while getting username list #1075

Open wipeurbuttocks opened 1 year ago

wipeurbuttocks commented 1 year ago

Running the older version of the scrapper

Scraping -  | 51 / 51
Traceback (most recent call last):
  File "D:\Downloads\OF Scrapper\start_ofd.py", line 104, in <module>
    asyncio.run(main())
  File "C:\Users\Soo Yong Jie\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "C:\Users\Soo Yong Jie\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete
    return future.result()
  File "D:\Downloads\OF Scrapper\start_ofd.py", line 86, in main
    api = await main_datascraper.start_datascraper(
  File "D:\Downloads\OF Scrapper\datascraper\main_datascraper.py", line 91, in start_datascraper
    await module.paid_content_scraper(api, identifiers)
  File "D:\Downloads\OF Scrapper\modules\onlyfans.py", line 371, in paid_content_scraper
    formatted_directories = await format_directories(
  File "D:\Downloads\OF Scrapper\modules\onlyfans.py", line 728, in format_directories
    x["metadata_directory"] = await main_helper.reformat(
  File "D:\Downloads\OF Scrapper\helpers\main_helper.py", line 664, in reformat
    "{first_letter}", prepared_format.model_username[0].capitalize()
IndexError: string index out of range