Git Product home page Git Product logo

ru-yts's People

Contributors

bioqwer avatar lafin avatar langovoi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ru-yts's Issues

Magnet field parser error (dev)

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,не установленном"

improvements

  • refactoring
  • tests
  • migrate to new provider
  • alpine container
  • docker composer
  • travis with publish the image to docker

Worker stops

Worker.js parses a small number of items, how to make it parse the whole category ?

Docker don't run

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

PopCorn Time application

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?

Инструкция

Добавьте пожалуйста описание хотя бы из статьи с хабра. А то статью могут убрать и как это собрать будет уже не просто разобраться.

Worker don't run

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

Store images in db

Is it better to download images into mongo ? Torrentino can go down some day.

TypeError: Cannot read property 'splice' of null

nodejs server/app.js --only-worker

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)

Number of questions about running my own API!

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 ?

Socks5 proxy support howto ?

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 ?

Worker (dev) does not parse films

nodejs server/workers.js starts, connects to db, but does not documents into mongo. Nothing in logs, no "start, stop" messages in console

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.