An open API service indexing awesome lists of open source software.

https://github.com/tuvimen/xhamster-scraper

A bash script for scraping xhamster metadata of pages in json
https://github.com/tuvimen/xhamster-scraper

bash json reliq scraping xhamster

Last synced: 4 months ago
JSON representation

A bash script for scraping xhamster metadata of pages in json

Awesome Lists containing this project

README

          

# xhamster-scraper

A bash script for scraping xhamster videos,channels,creators,pornstars,galleries,users,posts metadata in json.

## Requirements

- [reliq](https://github.com/TUVIMEN/reliq)
- [jq](https://github.com/stedolan/jq)

## Installation

install -m 755 xhamster-scraper /usr/bin

## Json format

Here's example of a [video](video-example.json), [pornstar](pornstar-example.json), [creator](creator-example.json), [celebrity](celebrity-example.json), [channel](channel-example.json), [user](user-example.json), [gallery](gallery-example.json).

## Usage

Download metadata of videos to DIR

xhamster-scraper DIR -v

Download metadata of pornstars to DIR

xhamster-scraper DIR -p

Download metadata of creators to DIR

xhamster-scraper DIR -c

Download metadata of channels to DIR

xhamster-scraper DIR -C

Download metadata of celebrities to DIR

xhamster-scraper DIR -e

Download metadata of galleries to DIR

xhamster-scraper DIR -g

Download metadata of user to DIR from URL. Since users aren't in sitemap you have to compile list of users from previous results.

xhamster-scraper DIR -u URL

Download users from links in FILE to DIR

xhamster-scraper DIR -U FILE