DIGITALCRIMINAL / ArchivedUltimaScraper

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

Keeps looping through Choose Sites, Profiles, Subscriptions... #1063

Open hawktank opened 1 year ago

hawktank commented 1 year ago

I have the latest cookie, x-bc, and user agent info updated in the profile config for OnlyFans (which has normally worked) but after updating to the latest UltimaScraper I'm just looping through the Choose settings (no connection attempt made).

Choose Sites: 0 = All | 1 = OnlyFans | 2 = Fansly
1
Choose Profiles: 0 = All |
0
Choose Subscriptions: 0 = All |
0
[2023-08-09 14:24:05] Assigning Jobs
[2023-08-09 14:24:05] Archive Completed in 0.06 Minutes
Choose Sites: 0 = All | 1 = OnlyFans | 2 = Fansly
1
Choose Profiles: 0 = All |
0
Choose Subscriptions: 0 = All |
0
[2023-08-09 14:27:30] Assigning Jobs
[2023-08-09 14:27:30] Archive Completed in 0.03 Minutes
Choose Sites: 0 = All | 1 = OnlyFans | 2 = Fansly

tried fresh installing UltimateScraper (deleting both the app folder in my GitHub repos folder and the pypoetry (cache) folder in my User folder), running python updater.py, updating to the latest python and poetry (re-running python updater.py) but the issue persists. CMD and PowerShell same deal, tried elevated prompts too.

Traceback when I Ctrl+C out of the app:

Traceback (most recent call last):
  File "H:\My Documents\GitHub\UltimaScraper\start_us.py", line 62, in <module>
    asyncio.run(main())
  File "C:\Users\Bubba Jackson\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "C:\Users\Bubba Jackson\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Bubba Jackson\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "H:\My Documents\GitHub\UltimaScraper\start_us.py", line 40, in main
    site_options = await USR.option_manager.create_option(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Bubba Jackson\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-s7lw0SJI-py3.11\Lib\site-packages\ultima_scraper_collection\managers\option_manager.py", line 16, in create_option
    option = await OptionsFormat(items, options_type, auto_choice).formatter()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Bubba Jackson\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-s7lw0SJI-py3.11\Lib\site-packages\ultima_scraper_collection\managers\option_manager.py", line 59, in formatter
    final_list = await self.choose_option()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Bubba Jackson\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-s7lw0SJI-py3.11\Lib\site-packages\ultima_scraper_collection\managers\option_manager.py", line 162, in choose_option
    input_value = input().lower()
                  ^^^^^^^
EOFError
dvfaa commented 1 year ago

for the first issue the following solution should work

https://github.com/DIGITALCRIMINALS/UltimaScraper/issues/1052#issuecomment-1656749834

as for the error after the fresh install I'm not sure

hawktank commented 1 year ago

Fantastic, that worked! Setting "active": true in your auth.json file.