https://github.com/INeed4000Bucks/cloudscraper
A Python module to bypass Cloudflare's anti-bot page.
https://github.com/INeed4000Bucks/cloudscraper
Last synced: 4 months ago
JSON representation
A Python module to bypass Cloudflare's anti-bot page.
- Host: GitHub
- URL: https://github.com/INeed4000Bucks/cloudscraper
- Owner: INeed4000Bucks
- License: mit
- Fork: true (VeNoMouS/cloudscraper)
- Created: 2023-04-10T13:22:43.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-20T07:15:19.000Z (9 months ago)
- Last Synced: 2024-10-30T06:32:43.781Z (9 months ago)
- Language: Python
- Size: 29.2 MB
- Stars: 18
- Watchers: 0
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# SpankBang Downloader
[](https://badge.fury.io/py/cloudscraper)
[](https://opensource.org/licenses/MIT)
[](https://pypi.org/project/cloudscraper/)
[](https://travis-ci.com/VeNoMouS/cloudscraper)
[](https://www.buymeacoffee.com/venomous)# Installation
Clone this repository and run `python setup.py install`.
Then `pip install bs4`
Then `pip install tqdm`# Dependencies
- Python 3.x
- **[Requests](https://github.com/kennethreitz/requests)** >= 2.9.2
- **[requests_toolbelt](https://pypi.org/project/requests-toolbelt/)** >= 0.9.1`python setup.py install` will install the Python dependencies automatically.
Any requests made from this session object to websites protected by Cloudflare anti-bot will be handled automatically. You can effectively treat SpankBang as if it is not protected with anything.
# Usage
1. Install Python 3
2. Clone this repository (download all files here)
3. Enter 'setup.py install' in the console/command prompt. Run `pip install setuptools` if you get an error that you don't have it.
4. Take input.txt and sb_scraper.py to any directory you want and use it. The text file contains a list of video, playlist, channel or profile URLs.
5. Or, Insert a custom .txt file as an argument in the command prompt/terminal (like 'sb_scraper.py theseurls.txt') (or drag a .txt file over the script file) into split.py to split it up into 4. You can run multiple instances of Scraper at once.# Features
- Drag a txt file of choice onto the .py file to run that, otherwise, double clicking will default to input.txt
- Playlist URLs as input work to output a .txt file of URLs which can then be fed back into the program
- split.py splits any txt file with several lines into 4 files. Can be used for playlists.
- Does not work with VR videos.
- You can rename the `.py` file and use it.