Skip to main content

A package to scrape bitchute platform recommendations using Selenium.

Project description

DOI

Bitchute Scraper

Python scraper for the Bitchute video platform. It allows you to query for videos and to retrieve platform recommendations such as trending videos, popular videos or trending tags. It makes use of Selenium for retrieving data.

Installation

bitchute-scraper is available on PyPi:

$ pip3 install bitchute-scraper

Alternatively you can download the repository and install the package by running the setup.py install routine. Make sure to install the requirements as well:

$ pip3 install -r requirements.txt
$ python3 setup.py install

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.get_channels(channel_ids, get_channel_about=True, get_channel_videos=True)

Search Videos (sorted by relevance only).

videos = search(query, top=100)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitchute-scraper-0.1.3.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

bitchute_scraper-0.1.3-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file bitchute-scraper-0.1.3.tar.gz.

File metadata

  • Download URL: bitchute-scraper-0.1.3.tar.gz
  • Upload date:
  • Size: 8.9 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.24.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8

File hashes

Hashes for bitchute-scraper-0.1.3.tar.gz
Algorithm Hash digest
SHA256 399ef573e2cb6caf98ef00c5fdcd35d2195c4730ee6bc1d23cbebc7158e78118
MD5 210aaaeb7799dbb87f6c6dc9abe48158
BLAKE2b-256 7e89cec27a7deae19581d4e5f6c0f14ac18ac54d9e9e950d666c6019d03c04c0

See more details on using hashes here.

File details

Details for the file bitchute_scraper-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: bitchute_scraper-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.8 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.24.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8

File hashes

Hashes for bitchute_scraper-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1a3d76e980c5891d9d108c84d3ab1ef016e15490a1560b06d195d0b331dc8c1b
MD5 51cbf3d5b705e88bc9aef2a0861265d5
BLAKE2b-256 b144309c220424cba0a73189b2dfdcaa3e5637e02a10340e4c352b9438f8c4ec

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page