Metadata-Version: 2.1
Name: bitchute-scraper
Version: 0.1.0
Summary: A package to scrape bitchute platform recommendations using Selenium.
Home-page: https://github.com/bumatic/bitchute-scraper
Author: Marcus Burkhardt
Author-email: marcus.burkhardt@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: beautifulsoup4
Requires-Dist: markdownify
Requires-Dist: pandas
Requires-Dist: python-dateutil
Requires-Dist: retrying
Requires-Dist: selenium
Requires-Dist: tqdm
Requires-Dist: webdriver-manager

# 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.

```Python
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.)

```Python
recommended_videos, tags = b.get_recommended_videos(type='popular')
recommended_videos, tags = b.get_recommended_videos(type='all')
```

Recommended channels can be retrieved via.

```Python
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.

```Python
about, videos = b.(channel_ids, get_channel_about=True, get_channel_videos=True)
```

Search Videos (sorted by relevance only).

```Python
videos = search(query, top=100)
```


