Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/sim0n00ps/OF-DL
Browse files Browse the repository at this point in the history
  • Loading branch information
sim0n00ps committed May 2, 2023
2 parents 5d2f41b + 4445d21 commit c128bd1
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# OF-DL
Scrape all the media from an OnlyFans account
# Prerequisites
This app is written in .NET 7.0 so you will need to have the .NET runtime installed in order to run the program.
1. Get the latest version here https://dotnet.microsoft.com/en-us/download/dotnet/7.0, you need to download the .NET Runtime 7.X.X which is located on the right hand side of the screen (you may need to scroll down the page to find it).
2. Download and run the installer.
3. Verfiy installation by opening Command Prompt or Powershell and run the `dotnet --list-runtimes` command, you should see that .NET 7 is listed.
# Running the program
Make sure you download the latest release from the [releases](https://github.com/sim0n00ps/OF-DL/releases) page and unzip the .zip file to a location where you want to download content to.
You should have 2 files in the folder you just created by unzipping the zip file, OF DL.exe and auth.json.

First you need to fill out the auth.json file.
1. Go to www.onlyfans.com and login.
2. Press F12 to open dev tools and select the 'Network' tab.
3. In the search box type 'api'

![image](https://user-images.githubusercontent.com/132307467/235547370-5ef8e273-ebf7-4783-a13a-225f5959c606.png)

4. Click on one of the requests (if nothing shows up refresh the page or click on one of the tabs such as messages to make something appear).
5. After clicking on a request, kake sure the headers tab is selected and then scroll down to find the 'Request Headers' section, this is where you should be able to find the information you need.
6. Copy the values of `cookie`, `user-agent`, `user-id` and `x-bc` to the auth.json file.
7. Save the file and you should be ready to go!

After you have filled out the auth.json file you can double click on the OF DL.exe to run the program.
You should see something like this:
![image](https://user-images.githubusercontent.com/132307467/235548153-107f3f44-aa00-4946-8432-458329142007.png)

If the auth.json has been filled out correctly you should see a message in green text `Logged In successfully as {Your Username} {Your User Id}`
However if the auth.json has been filled out but cannot log in successfully with the credentials provided then a message in red text will appear `Auth failed, please check the values in auth.json are correct, press any key to exit`. This means you need to go back and fill in the auth.json file again.

If you're logged in successfully then you will be greeted with a selection prompt. To navigate the menu the can use the ↑ & ↓ arrows and press `enter` to choose that option.

![image](https://user-images.githubusercontent.com/132307467/235548843-d6f46c78-7615-400a-820d-ef0dfcea4531.png)

The Select All option will go through every account you are currently subscribed to and grab all of the media from the users.

The Custom option allows you to select 1 or more accounts you want to scrape media from so if you only want to get media from a select number of accounts then you can do that. To navigate the menu the can use the ↑ & ↓ arrows, to select/deselect an account press the `space` key and after you are happy with your selection(s) press `enter` to start downloading.

![image](https://user-images.githubusercontent.com/132307467/235549855-dd6efa98-24d5-479a-89c9-d89dbd3c01cc.png)

After you have made your selection the content should start downloading.
Content is downloaded in this order:
1. Paid Posts
2. Posts
3. Archived
4. Stories
5. Highlights
6. Messages
7. Paid Messages

0 comments on commit c128bd1

Please sign in to comment.