DIGITALCRIMINAL / ArchivedUltimaScraper

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

Scraper deleted all posts to models I am no longer subscribed to. #447

Closed eloxole closed 1 year ago

eloxole commented 2 years ago

It keeps Profile, Metadata and Message folder but deleted the rest.

Happened after I updated to v 8.0

{ "info": { "version": 8.0 }, "settings": { "auto_site_choice": "", "export_type": "json", "profile_directories": [ ".profiles" ], "max_threads": -1, "min_drive_space": 0, "helpers": { "renamer": true, "reformat_media": true, "downloader": true, "delete_empty_directories": false }, "webhooks": { "global_webhooks": [], "global_status": true, "auth_webhook": { "succeeded": { "webhooks": [], "status": null, "hide_sensitive_info": true }, "failed": { "webhooks": [], "status": null, "hide_sensitive_info": true } }, "download_webhook": { "succeeded": { "webhooks": [], "status": null, "hide_sensitive_info": true }, "failed": { "webhooks": [], "status": null, "hide_sensitive_info": true } } }, "exit_on_completion": false, "infinite_loop": true, "loop_timeout": 0, "dynamic_rules_link": "https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json", "proxies": [], "cert": "", "random_string": "bf6c8ec8c82311ec8fdf1c9957bb10ec" }, "supported": { "onlyfans": { "settings": { "auto_profile_choice": [0], "auto_model_choice": false, "auto_api_choice": true, "auto_media_choice": "0", "browser": { "auth": true }, "jobs": { "scrape": { "subscriptions": true, "messages": true, "paid_content": true }, "metadata": { "posts": true, "comments": true } }, "download_directories": [ ".sites" ], "file_directory_format": "{site_name}/{model_username}/{api_type}/{value}/{media_type}", "filename_format": "{filename}.{ext}", "metadata_directories": [ ".sites" ], "metadata_directory_format": "{site_name}/{model_username}/Metadata", "delete_legacy_metadata": false, "text_length": 255, "video_quality": "source", "overwrite_files": false, "date_format": "%d-%m-%Y", "ignored_keywords": [], "ignore_type": "", "blacklists": [], "webhook": true } }, "fansly": { "settings": { "auto_profile_choice": [], "auto_model_choice": false, "auto_api_choice": true, "auto_media_choice": "", "browser": { "auth": true }, "jobs": { "scrape": { "subscriptions": true, "messages": true, "paid_content": true }, "metadata": { "posts": true, "comments": true } }, "download_directories": [ ".sites" ], "file_directory_format": "{site_name}/{model_username}/{api_type}/{value}/{media_type}", "filename_format": "{filename}.{ext}", "metadata_directories": [ ".sites" ], "metadata_directory_format": "{site_name}/{model_username}/Metadata", "delete_legacy_metadata": false, "text_length": 255, "video_quality": "source", "overwrite_files": false, "date_format": "%d-%m-%Y", "ignored_keywords": [], "ignore_type": "", "blacklists": [], "webhook": true } }, "starsavn": { "settings": { "auto_profile_choice": [], "auto_model_choice": false, "auto_api_choice": true, "auto_media_choice": "", "browser": { "auth": true }, "jobs": { "scrape": { "subscriptions": true, "messages": true, "paid_content": true }, "metadata": { "posts": true, "comments": true } }, "download_directories": [ ".sites" ], "file_directory_format": "{site_name}/{model_username}/{api_type}/{value}/{media_type}", "filename_format": "{filename}.{ext}", "metadata_directories": [ ".sites" ], "metadata_directory_format": "{site_name}/{model_username}/Metadata", "delete_legacy_metadata": false, "text_length": 255, "video_quality": "source", "overwrite_files": false, "date_format": "%d-%m-%Y", "ignored_keywords": [], "ignore_type": "", "blacklists": [], "webhook": true } } } }

avekifes commented 2 years ago

Did anyone else run into this? Because this is worrisome.

hydr0homiee commented 2 years ago

This is also happening to me. I don't know why and it appears recent. I noticed that the affected folders all have modified dates AFTER the most recent commit from April 25th. @DIGITALCRIMINALS

avekifes commented 2 years ago

Does this only happen when you try to update all subscriptions at once, or also when you update individual accounts?

eloxole commented 2 years ago

For me, it happened when I update all subscriptions.

On May 8, 2022, at 11:14 AM, avekifes @.***> wrote:

 Does this happen when you try to update all subscriptions at once, or also when you only update individual accounts?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

hydr0homiee commented 2 years ago

Same

A-Random-Mf commented 2 years ago

@DIGITALCRIMINALS Was the Remove rename_duplicates function commit the fix to this issue?

DIGITALCRIMINAL commented 2 years ago

@DIGITALCRIMINALS Was the Remove rename_duplicates function commit the fix to this issue?

No, and I have no idea what causes it since there's no delete operations in the script, only overwrites.

left1000 commented 2 years ago

I had a similar issue occur for me. Not only did it delete everything but it even said my date of folder creation was today, making me think I'd never made the rip in the first place. Thankfully I had a backup.

Going to stick to 7.6.1 as the issue never occurs for me on 7.6.1 and occurred for me the first time I tried running the current update/commit.

I actually was and only ever have run individual model scrapes. After I ran the current commit/update for one model it just moved to the next model, and when I selected a media type, it just nuked that model's entire prior scrape/rip.

Thankfully I noticed after 2 models, and 1 was backed up and 1 I'd never ripped anyways.

Not sure what version 8.0 is though (doesn't seem to be a release). As I just grabbed the code in a zip from the main page and then installed it via the poetry cli instructions. (After experiencing this issue I just went back to using 7.6.1 immediately.)

hydr0homiee commented 2 years ago

@left1000 Are you having issues downloading content? Like do you end up with missing content using the 7.6.1 version? (See #587)

I might try downgrading to 7.6.1, I remember I upgraded because I kept getting an error that got fixed once I upgraded. But now I'm not able to download like any content in messages.

left1000 commented 2 years ago

I haven't gotten any messages to test recently. But I am running 7.6.1 plus https://github.com/DIGITALCRIMINALS/OnlyFans/issues/585 I made this code edit manually myself as it's required to get 7.6.1 working right.

DIGITALCRIMINAL commented 1 year ago

It shouldn't be happening anymore since I've removed many delete functions...