This programs run in CLI (Terminal). There is no GUI currently available. This is for Ubuntu Focal Fossa and Hirsute.
-
Make sure to have unzip installed
sudo apt update && sudo apt -y install unzip
-
Go to the directory where you want the code to be stored
-
Download the code
wget https://github.com/DIGITALCRIMINALS/OnlyFans/archive/refs/heads/master.zip
-
Unzip the code, rename it and remove the original zip file
unzip master.zip && mv OnlyFans-master onlyfans && rm master.zip
-
Enter our new directory
cd onlyfans
-
Go to the Installation of Python section and complete it.
Once you have completed the installation of python section, follow the follwing steps in order
-
Be in the directory where the scraper is at.
-
Activate Virtual Enviroment
source scraper/bin/activate
-
Run the updater program
python3 updater.py
-
Deactivate Virtual Enviroment
deactivate
WARNING: This method is not suggested for users who just want to use the scraper. Git is meant for devlopment purposes.
Make sure you have git installed
`sudo apt update && sudo apt -y install git`
-
Go to the directory where you would like the code.
-
Clone the repository.
git clone https://github.com/DIGITALCRIMINALS/OnlyFans
** This does not work if you have changed any of the files that are being updated yourself.**
-
Be in the directory of the code you are in
-
Update code
git pull
If you have changed files and want the new update to "overwrite" them run the following command
'git stash'
-
Install Python3.9
sudo apt update && sudo apt -y install python3.9
-
Install the Python3.9 Virtual Enviroment
sudo apt -y install python3.9-dev python3.9-venv
-
Make our Python Virtual Enviroment
python3.9 -m venv scraper
-
Enter our virtual enviroment
source scraper/bin/activate
We now are inside of our python3.9 virtual enviroment. This makes it so that other programs won't screw with our scraper and our scraper won't screw with your other programs or virtual enviroments
-
Install Requiremtents
pip3 install -r requirements.txt
-
Exit Virtual Enviroment
deactivate
You have just installed the scraper! Congratulations!
Updates are necessary to keep up with new reqirements and to keep up with what the main site is doing. Please go to the installation section you used to install the Scraper
Follow the steps in order every time we use the scraper
-
Be in the Directory where the code is.
-
Activate our virtual Enviroment
source scraper/bin/activate
-
Run The Scraper
python3 start_ofd.py
-
Do what the program says. Remember to type the apropriate numbers. If you need to do some configuration, it is ok to pres CTRL + C. After configuring, go back to step 3.
-
After the Scraper is finished or you need to exit the virtual enviroment, run the following command to make things 'normal'
deactivate