Giter VIP home page Giter VIP logo

yts_torrents's Issues

Imdb & genre

Hello
Code is great work perfectly but what about adding imdb code to file name
And also genre sort will be helpful the code will be complete and perfectly working
Great work

Thanks

Timeouts and Colons

Hi, firstly I would like to say thank you for developing this. I started to do this myself and then decided to check github for a solution. I was not disappointed.

First issue I ran into is timeouts. I'm using a VPN so maybe this is why I saw these issues, but the timeout value of 3 seconds was not enough for me. I had issues even with 10 seconds. I upped the timeout to 30 seconds and had no issues. Although, upon a timeout, the error is unhandled.

Second issue is with colons. When downloading a torrent with a colon in the name, os.path.join saw it as a drive letter and threw away the rest of the string. Therefore you would end up with a torrent missing half of its name as well as an extension. I was able to fix this by changing line 66 in "linkdowload.py" from:
movie = movie.encode('utf-8').decode('utf-8')
to:
movie = movie.encode('utf-8').decode('utf-8').replace(':','')

Once again, thanks for creating this. Saved me a ton of time and I will continue to modify it to fit my needs.

I do not support piracy. This is for educational purposes only.

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.