All Projects → k0rnh0li0 → onlyfans-dl

k0rnh0li0 / onlyfans-dl

Licence: GPL-3.0 license
OnlyFans content downloader

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to onlyfans-dl

Spidr
A versatile Ruby web spidering library that can spider a site, multiple domains, certain links or infinitely. Spidr is designed to be fast and easy to use.
Stars: ✭ 656 (+10.81%)
Mutual labels:  web-scraper
Detect Cms
PHP Library for detecting CMS
Stars: ✭ 78 (-86.82%)
Mutual labels:  web-scraper
Web Scraping
Detailed web scraping tutorials for dummies with financial data crawlers on Reddit WallStreetBets, CME (both options and futures), US Treasury, CFTC, LME, SHFE and news data crawlers on BBC, Wall Street Journal, Al Jazeera, Reuters, Financial Times, Bloomberg, CNN, Fortune, The Economist
Stars: ✭ 153 (-74.16%)
Mutual labels:  web-scraper
Project Tauro
A Router WiFi key recovery/cracking tool with a twist.
Stars: ✭ 52 (-91.22%)
Mutual labels:  web-scraper
Arachnid
Powerful web scraping framework for Crystal
Stars: ✭ 68 (-88.51%)
Mutual labels:  web-scraper
Soup
Web Scraper in Go, similar to BeautifulSoup
Stars: ✭ 1,685 (+184.63%)
Mutual labels:  web-scraper
Awesome Crawler
A collection of awesome web crawler,spider in different languages
Stars: ✭ 4,793 (+709.63%)
Mutual labels:  web-scraper
Scrape Linkedin Selenium
`scrape_linkedin` is a python package that allows you to scrape personal LinkedIn profiles & company pages - turning the data into structured json.
Stars: ✭ 239 (-59.63%)
Mutual labels:  web-scraper
100projectsofcode
A list of practical knowledge-building projects.
Stars: ✭ 1,183 (+99.83%)
Mutual labels:  web-scraper
Phpscraper
PHP Scraper - an highly opinionated web-interface for PHP
Stars: ✭ 148 (-75%)
Mutual labels:  web-scraper
Scrapy Craigslist
Web Scraping Craigslist's Engineering Jobs in NY with Scrapy
Stars: ✭ 54 (-90.88%)
Mutual labels:  web-scraper
Cascadia
Go cascadia package command line CSS selector
Stars: ✭ 67 (-88.68%)
Mutual labels:  web-scraper
Html Metadata
MetaData html scraper and parser for Node.js (supports Promises and callback style)
Stars: ✭ 129 (-78.21%)
Mutual labels:  web-scraper
Stealth
🚀 Stealth - Secure, Peer-to-Peer, Private and Automateable Web Browser/Scraper/Proxy
Stars: ✭ 659 (+11.32%)
Mutual labels:  web-scraper
Summarizer
A Reddit bot that summarizes news articles written in Spanish or English. It uses a custom built algorithm to rank words and sentences.
Stars: ✭ 213 (-64.02%)
Mutual labels:  web-scraper
Faster Than Requests
Faster requests on Python 3
Stars: ✭ 639 (+7.94%)
Mutual labels:  web-scraper
Daftlistings
A library that enables programmatic interaction with daft.ie. Daft.ie has nationwide coverage and contains about 80% of the total available properties in Ireland.
Stars: ✭ 86 (-85.47%)
Mutual labels:  web-scraper
yellowpages-scraper
Yellowpages.com Web Scraper written in Python and LXML to extract business details available based on a particular category and location.
Stars: ✭ 56 (-90.54%)
Mutual labels:  web-scraper
Getsy
A simple browser/client-side web scraper.
Stars: ✭ 238 (-59.8%)
Mutual labels:  web-scraper
Awesome Web Scraper
A collection of awesome web scaper, crawler.
Stars: ✭ 147 (-75.17%)
Mutual labels:  web-scraper

THE GREAT KORNHOLIO PRESENTS

OnlyFans Profile Downloader/Archiver

This tool downloads all photos/videos from an OnlyFans profile, creating a local archive. You must be subscribed to the profile to download their content.

onlyfans-dl will create a directory called profiles in the repo directory. Each profile you download will be stored as a subdirectory of profiles. Inside each profile directory, some information will be saved in info.json, and all media will be downloaded to photos/ and videos/.

DON'T OPEN AN ISSUE ABOUT THE REQUESTS LIBRARY. ( #8 #25 #28 #29 #33 #44 #45 #104 #125 )

LOOK: python -m pip install requests

If you have installed requests and it still doesn't work, then this is an issue with your local environment, not onlyfans-dl.

Usage

First, make sure to set your session variables in auth.json.

./onlyfans-dl.py

Session Variables

Requests to the API now need to be signed. This is an obfuscation technique from the developers to discourage scraping. Thanks for the most recent patch goes to DIGITALCRIMINAL.

You need your browser's user-agent, onlyfans session cookie, x-bc HTTP header, and user-id HTTP header. Here's how to get them:

  • Get your user-agent here: ipchicken
  • Session Cookie
    1. Login to OnlyFans as normal
    2. Open the dev console Storage Inspector (SHIFT+F9 on FireFox). or the Application tab of Chrome DevTools
    3. Click Cookies -> https://onlyfans.com
    4. Copy the value of the sess cookie
  • x-bc and user-id
    1. Login to OnlyFans
    2. Open dev console F12 -> Network tab (Ctrl+Shift+E in FireFox)
    3. Go to the home page
    4. In dev tools, click Headers sub-tab (default)
    5. Click on one of the JSON elements (may need to refresh page) and look under request headers on the right. The hints request is a good request to look at, as not all requests have both headers.

There are variables for each of these values at the top of the script. Make sure to update them every time you login or your browser updates.

Contributing

PRs are welcome; be sure to take some time to familiarize yourself with OnlyFans' API if you would like to extend/modify the functionality of this script.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].