I do programming and visual stuff.
flashblaze / yts-downloader Goto Github PK
View Code? Open in Web Editor NEWA simple implementation of YTS API
License: MIT License
A simple implementation of YTS API
License: MIT License
Actually, I just fixed the other issue in place.
In fact, it was just a b tag that was added to HTML so I had to change the indexes here str(h2)[5:11] from 5:11 to 8:14 to extract the correct total number of movies.
I think this tool does nothing but download the .torrent file, not the movie and this is not quite practical.
I didn't expect that!
This tool should use some torrent client with (magnet link constructed from data returned from YTS API or the downloaded torrent).
I suggest using transmission as it's open-source and it has a nice command line!
Currently only a single instance is running to check each page of the website. Implement multi threading to speed up the process.
When I did run this command :
yts-downloader 'aquaman'
I got this error :
Traceback (most recent call last):
File "/home/seifeslimene/.local/bin/yts-downloader", line 8, in <module>
sys.exit(main())
File "/home/seifeslimene/.local/lib/python3.8/site-packages/yts_downloader/yts_downloader.py", line 23, in main
movie_count = int((str(h2)[5:11].replace(',', '')))
ValueError: invalid literal for int() with base 10: '<b>34'
What's wrong?
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.