Need install Docker
$ mkdir yts && cd yts && mkdir db log
$ curl -O https://raw.githubusercontent.com/lafin/ru-yts/master/docker-compose.x86_64.yml
$ docker-compose -f docker-compose.x86_64.yml up
$ cd yts && rm -rf ./log/* ./db/*
$ docker-compose -f docker-compose.x86_64.yml pull
$ docker-compose -f docker-compose.x86_64.yml up
$ docker run --rm --link yts_mongo_1:mongo lafin/ru-yts:x86_64 --only-worker -c 3
- yts_mongo_1 - name of docker container for mongodb (you can see list containers use the command
docker-compose -f docker-compose.x86_64.yml ps
just findName
with *_mongo_1) -c
count page (I'm not recommend set more then 100) by default 1- you can set number of page from which start parsing with use the
-s
by default 1 - you can set ttl
--ttl
by default 86400 seconds - you can set socks5 proxy
--socks5
Download last version Popcorn Time here Into the setting of Popcorn Time need set address for you yts server (eg. Movie API Endpoint: http://127.0.0.1:3000/)
- Author: lafin
MIT