Tools of-scraper now with DRM support

hornyone

Tier 3 Sub
Mar 15, 2022
65
306
389
0fya082315al84db03fa9bf467e3.png
ofscraper
ofscaper is a fork of onlyfans-scraper with additional features and fixes.
Many of these changes are in regards to file management. For example with the changes made you can control which types of files are downloaded, and can have more control of the final destination of these files. We've also added support for metadata files.


For those who are currently on digitalcriminals script. We are using the same user_data.db structure. So those files are completely compatible. Provided you use a proper setting for metadata in your config.json. Your user_data.db can be used to skip previously downloaded files.

Running
Code:
Please, Log in or Register to view codes content!

Allows you to not only scrape content, batch likes and unlikes
It also allows you to manage most of the program. For example switching profiles, changing confing settings, also reseting auth file


For users that are comfortable with the commandline we provide the ability to enhance automation and skip any menus
For example a command I have been using has been

Code:
Please, Log in or Register to view codes content!


Which is meant to only scrape all wall content and paid content. For only paid accounts, that are active, and have renewal off


There is also a daemon available
Code:
Please, Log in or Register to view codes content!



Changes
Many of the changes can be found at
Please, Log in or Register to see links and images

However some of the ones I like are
- scraping messages, and paid content for specific models
- filtering by account type, subscription status, and renewal status
- fuzzy search during model selection
- ability to select specific type of posts to download
- background daemon support

This is meant to be a very straight forward program. Right now the plan is to only support onlyfans, as there are other scripts that can support fansly for example.

Links

Please, Log in or Register to see links and images

Please, Log in or Register to see links and images
 
Last edited:

hornyone

Tier 3 Sub
Mar 15, 2022
65
306
389
0fya082315al84db03fa9bf467e3.png
Added a beta feature


It's a way to quickly visual information from the db, along with information gathered from the api

This is part of the upcoming 2.2 release

There will probably be a way to download individual posts that are unlocked this way, along with being able to do so directly from the command line
dp-Y8eWwsgY.png
 
Last edited:

hornyone

Tier 3 Sub
Mar 15, 2022
65
306
389
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
I've received a lot of help in improving this script like in the post quoted
With the release of 1.82
I thought I would go on here and see if some of he bugs here hand been dealt with

With that I've been able to fix a lot of issues with earlier releases, and implement ways to improve the script.

1. The text error can mean the config file is not correct or it can mean that the response from onlyfans does not have a expected value. Because this only happens with a specific model. It is probably the latter. I've revamped the script to do a better job at managing all the different types of responses onlyfans gives. I've received of reports of similar errors, but most of those seem to have been gone with later updates.

2. The failed downloads are most likely from onlyfans side, sometimes they will just send a bad response. Prior releases were meant to retry request. However this was not implemented correctly. With the new version I've corrected this. So now each download will be tried 5 times. This is done with a pause. Hopefully this will greatly reduce or remove skipped downloads

3. This I'm not sure about. There is a good chance that it has been fixed with all the changes made to the script.
4. I've implemened a fix for this in 1.82
 

hornyone

Tier 3 Sub
Mar 15, 2022
65
306
389
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes

Yeah I've been using what the original url would state

I took a quick look at his code and he is appending that to the filename
folder + path + "/" + filename + "_source.mp4"

Some files do have it within what the url, but it is not consistent

I'll probably just do something similar to avoid confusion
 
Last edited:

Dania

I tip my hat to you, m'lady.
Mar 11, 2022
370
1
12,463
1,408
0fya082315al84db03fa9bf467e3.png
Quickly tried this script, and it works super well. I did run into four small bugs however:

Firstly I got run failed with exception: 'text' for a single profile, resulting in no downloads at all. I've not been able to replicate this on any other profiles however.

Please, Log in or Register to view spoilers

The second bug is that the script, for some reason, is skipping a single file when scraping. Trying both with and without --dupe doesn't change this. However, running the scrape 1 or 2 more times on the same profile seems to fix this and the mysteriously skipped file is downloaded. I'm not sure exactly what file it is, sadly.

The third bug is that the script sometimes doesn't download any of the archived content of a profile. --dupe doesn't change this, nor does selecting only archived content. :SadgeCry:

Please, Log in or Register to view spoilers

And lastly, the fourth bug is that avatars are downloaded without a file extension. It's not an important thing for myself, but I thought I'd share it just in case someone needs it. 👍

Other than those four small bugs, the script works absolutely perfect and is super easy to use. Thanks for sharing! :MLADY:👍
 

hornyone

Tier 3 Sub
Mar 15, 2022
65
306
389

X34

Simp Dawg
Mar 10, 2022
17,208
6
2,106,880
2,863
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
I've been getting a lot of .part files as well, quite often with images as well as videos. I have the DRM stuff setup correctly so its not that.
I find if I scrape the profile again it will download the files properly.

I'm running 3.3.8 aka the last compiled release, for some reason the later releases are only source code.

A quick look in the discord and there's several people complaining about this there but no fixes forthcoming.

For images it seems to be the script is downloading them fine but fails to rename the files, annoying.

Example:
Please, Log in or Register to see links and images
 
Last edited: