lafin / ru-yts Goto Github PK
View Code? Open in Web Editor NEWRussian films provider for Popcorn Time
License: MIT License
Russian films provider for Popcorn Time
License: MIT License
This is what is in the DB: "magnet": "720x400,en ru,428,magnet:?xt=urn:btih:590bdf000fb7651135efa7bb639fd06ee84b1529&dn=Abandoned+Dead+%282016%29+WEBRip.avi&tr=http%3A%2F%2Fi.bandito.org%2Fannounce.php&tr=http%3A%2F%2Fpubt.net%3A2710%2Fannounce&tr=http%3A%2F%2Fretracker.local%2Fannounce&tr=http%3A%2F%2Ftracker.tfile.me%2Fannounce.php%3Fak%3D112e2748a1%26&tr=http%3A%2F%2Ftracker.tfile.me%2Fannounce.php%3Fak%3D11bcf0d041%26&tr=http%3A%2F%2Ftracker.tfile.me%2Fannounce.php%3Fak%3D11bcf0d04e%26&tr=http%3A%2F%2Ftracker.tfile.ru%2Fannounce.php%3Fak%3D112e2748a1%26&tr=http%3A%2F%2Ftracker.tfile.ru%2Fannounce.php%3Fak%3D11bcf0d041%26&tr=http%3A%2F%2Ftracker.tfile.ru%2Fannounce.php%3Fak%3D11bcf0d04e%26&tr=http%3A%2F%2Fxbtrutor.com%3A2710%2Fannounce&tr=udp%3A%2F%2Fipv6.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Fopentor.org%3A2710&tr=udp%3A%2F%2Ftracker.blackunicorn.xyz%3A6969&tr=udp%3A%2F%2Ftracker.ccc.de%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80%2Fannounce,не установленном"
Worker.js parses a small number of items, how to make it parse the whole category ?
Worker.js (dev) loaded 98 movies and stopped. Is it ok ?
The second pass with -c 100 gives many extra results
Torrents are not sorted by created_date in Popcorntime CE
Hello @lafin !
Firstly, i filled credentials in docker file.
I use your setup manual and docker run has failed with:
module.js:340
throw err;
^
Error: Cannot find module '/var/apps/yts/app.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3
Hello @lafin !
I download application from popcorntime.
Start server successfully.
Application try load pages, but it's useless.
::ffff:127.0.0.1 - - [13/Apr/2016:08:57:02 +0000] "GET /api/v2/list_movies.json?sort_by=date_added&limit=50&with_rt_ratings=true&page=982 HTTP/1.1" 200 123 "-" "-"
::ffff:127.0.0.1 - - [13/Apr/2016:08:57:02 +0000] "GET /api/v2/list_movies.json?sort_by=date_added&limit=50&with_rt_ratings=true&page=983 HTTP/1.1" 200 123 "-" "-"
::ffff:127.0.0.1 - - [13/Apr/2016:08:57:02 +0000] "GET /api/v2/list_movies.json?sort_by=date_added&limit=50&with_rt_ratings=true&page=984 HTTP/1.1" 200 123 "-" "-"
::ffff:127.0.0.1 - - [13/Apr/2016:08:57:02 +0000] "GET /api/v2/list_movies.json?sort_by=date_added&limit=50&with_rt_ratings=true&page=985 HTTP/1.1" 200 123 "-" "-"
::ffff:127.0.0.1 - - [13/Apr/2016:08:57:02 +0000] "GET /api/v2/list_movies.json?sort_by=date_added&limit=50&with_rt_ratings=true&page=986 HTTP/1.1" 200 123 "-" "-"
::ffff:127.0.0.1 - - [13/Apr/2016:08:57:02 +0000] "GET /api/v2/list_movies.json?sort_by=date_added&limit=50&with_rt_ratings=true&page=989 HTTP/1.1" 200 123 "-" "-"
::ffff:127.0.0.1 - - [13/Apr/2016:08:57:02 +0000] "GET /api/v2/list_movies.json?sort_by=date_added&limit=50&with_rt_ratings=true&page=988 HTTP/1.1" 200 123 "-" "-"
::ffff:127.0.0.1 - - [13/Apr/2016:08:57:02 +0000] "GET /api/v2/list_movies.json?sort_by=date_added&limit=50&with_rt_ratings=true&page=987 HTTP/1.1" 200 123 "-" "-"
::ffff:127.0.0.1 - - [13/Apr/2016:08:57:02 +0000] "GET /api/v2/list_movies.json?sort_by=date_added&limit=50&with_rt_ratings=true&page=990 HTTP/1.1" 200 123 "-" "-"
::ffff:127.0.0.1 - - [13/Apr/2016:08:57:03 +0000] "GET /api/v2/list_movies.json?sort_by=date_added&limit=50&with_rt_ratings=true&page=991 HTTP/1.1" 200 123 "-" "-"
What application i should use?
I think it is good to split worker & api completely, for someone can run them on 2 machines
Worker (--only-worker -c 4000) stops after error. How to continue after error ?
No "created/updated" fields in mongo.
Добавьте пожалуйста описание хотя бы из статьи с хабра. А то статью могут убрать и как это собрать будет уже не просто разобраться.
docker run --rm --link yts_mongo_1:mongo lafin/ru-yts:x86_64 --only-worker -c 5
container_linux.go:247: starting container process caused "exec: "--only-worker": executable file not found in $PATH"
docker: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused "exec: \"--only-worker\": executable file not found in $PATH"\n".
It is good to implement /movie_details.json? endpoint, since some applications need this.
Is it better to download images into mongo ? Torrentino can go down some day.
start page: 1
/root/ru-yts/server/worker.js:122
var tiles = tilesRe.exec(data).splice(1);
^
TypeError: Cannot read property 'splice' of null
at getPageData (/root/ru-yts/server/worker.js:122:35)
at /root/ru-yts/server/worker.js:153:20
at Request._callback (/root/ru-yts/server/worker.js:22:16)
at Request.self.callback (/root/ru-yts/node_modules/request/request.js:186:22)
at emitTwo (events.js:100:13)
at Request.emit (events.js:185:7)
at Request. (/root/ru-yts/node_modules/request/request.js:1081:10)
at emitOne (events.js:90:13)
at Request.emit (events.js:182:7)
at IncomingMessage. (/root/ru-yts/node_modules/request/request.js:1001:12)
at IncomingMessage.g (events.js:273:16)
at emitNone (events.js:85:20)
at IncomingMessage.emit (events.js:179:7)
at endReadableNT (_stream_readable.js:913:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
Plz Help
--only-api mode needed
Мужики. Не могу найти попкорн с русскими субтитрами.
Hey, I got the server up and running yaay, but I don't seem to be able to pull any torrents.. Maybe it's because I don't have the credentials to that russian site. Anywho, I'd like to pull torrents from sites like the piratebay or kat, can I do that? Can you guys guide me through it ?
http://popcorn-time.ru/android/mobile-armeabi-v7a-release-0.1.2.apk
Андроид приложение не подгружает никаких данных.
Пишет no data found.
I don't have a direct access to torrentino, but I have a russian socks proxy. Is it possible to run worker via socks5 proxy ?
nodejs server/workers.js starts, connects to db, but does not documents into mongo. Nothing in logs, no "start, stop" messages in console
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.