A package to scrape bitchute platform recommendations using Selenium.
Project description
Python Bitchute Scraper
This repository contains a simple scaper for the bitcute video plattform. It makes uses of Selenium for retrieving data.
Installation
For using the scraper you can download, clone or fork the repsoitory and put the bitchute
folder in the working directory of your python script.
Usage
Create a crawler object and download it the trending videos and tags.
import bitchute as bc
b = bc.Crawler()
recommended_videos, tags = b.get_recommended_videos(type='trending')
You can also retrieve videos listed in popular
and all
from the homepage as well. These request currently return a list of videos as well as a list of tags. The latter is an artifact of the current implementation and is to be ignored. (Will be fixed later.)
recommended_videos, tags = b.get_recommended_videos(type='popular')
recommended_videos, tags = b.get_recommended_videos(type='all')
Recommended channels can be retrieved via.
recommended_channels = b.get_recommended_channels(extended=False)
Retrieve channel information containing both the channel about as well as the videos published by the channel.
about, videos = b.(channel_ids, get_channel_about=True, get_channel_videos=True)
Search Videos (sorted by relevance only).
videos = search(query, top=100)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bitchute-scraper-0.1.0.tar.gz
.
File metadata
- Download URL: bitchute-scraper-0.1.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f90cfb5fa9dd779c9e71fd9db4ef3d995b4c6acb2e405196622d42ccf715c22 |
|
MD5 | d3f834a6bbe40bc7664c9a415046d4f0 |
|
BLAKE2b-256 | 073e6e6b03c5a00b5ccc9adbd7e21f5507e139ac2a87001b91a9db86199bded7 |
File details
Details for the file bitchute_scraper-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: bitchute_scraper-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4759834f8f097bc269d407903e0192c8ff58e807f039b4e1b560bb4cfb143169 |
|
MD5 | 6426d18a3a9526902a0996234e4f3c58 |
|
BLAKE2b-256 | bbb2680c21e5c44d1734d684dbacc0eb764067c72c30c120aaf7927c3edeafa2 |