ArchivedUltimaScraper icon indicating copy to clipboard operation
ArchivedUltimaScraper copied to clipboard

Choose medias loop

Open WizGery opened this issue 1 year ago • 7 comments

Captura de pantalla 2023-07-11 031456 basically it keep asking to choose media and dont do anything more

WizGery avatar Jul 11 '23 01:07 WizGery

I am having the same issue, unfortunately.

MayonakanoOokami avatar Jul 11 '23 14:07 MayonakanoOokami

Same issue here, is the script broken now?

xxtensazenxx avatar Jul 13 '23 05:07 xxtensazenxx

If you continue to type your desired option, it eventually works.

@DIGITALCRIMINALS I'm struggling to figure out the proper solution, but it has something to do with UltimaScraperCollection adds the chat users to the valid_user_list AFTER the prompt to choose the subscription has passed, so it adds subscriptions the user did not ask for.

Swooned9666 avatar Jul 13 '23 07:07 Swooned9666

If you continue to type your desired option, it eventually works.

Thanks! That did the trick. I had to do it, like, 27x lol.

MayonakanoOokami avatar Jul 14 '23 04:07 MayonakanoOokami

If you continue to type your desired option, it eventually works.

@DIGITALCRIMINALS I'm struggling to figure out the proper solution, but it has something to do with UltimaScraperCollection adds the chat users to the valid_user_list AFTER the prompt to choose the subscription has passed, so it adds subscriptions the user did not ask for.

It worked but then start downloading everything from everyone.

DarthPasma avatar Jul 24 '23 05:07 DarthPasma

Ive tried to debug this, it's an error where it essentially ignores your "Choose Subscriptions", the repated "Choose Medias" is choosing it for each person followed, hence why spam it for each one.

Because who ever made this tool decided to make it near impossible to maintain, this cant be fixed locally as the bug is in the "UltimaScraperCollection" library/repo which cant be accesed localy as it's a depency. So cant be fixed easily locally...

It looks like the Choosing manager is correct returning only picked ones in:

self.option_manager.subscription_options.final_choices[0]

However the final_job_user_list, has got instance for every model being followed.

await self.assign_jobs(final_job_user_list)

Fucks up essentially..... and cant fix locally since repo's are a mess.

Shitty workaround: Because I wanted to beat my meat i updated the code to manually filter it after the fact.

In ultima_scraper.py update the code at line 135 down to look like:

        self.option_manager.subscription_options = subscription_options
        final_job_user_list = await datascraper.configure_datascraper_jobs()
        new_list = []
        my_models = ["modelUsername", "otherusername"]
        for model in final_job_user_list:
            if model.username in my_models:
                new_list.append(model)
        await self.assign_jobs(new_list)
        await datascraper.datascraper.api.job_manager.process_jobs()

ExtraIntrov avatar Jul 28 '23 10:07 ExtraIntrov

I have a solution, in config.json :
"onlyfans": { "settings": { "auto_profile_choice": "default", "auto_model_choice": false, "auto_api_choice": true, "auto_media_choice": "All", "browser": { "auth": true }, "jobs": { "scrape": { "subscriptions": true, "messages": false, "paid_contents": true

the-truthBE avatar Jul 30 '23 14:07 the-truthBE