I am arhiving this (and the related repositories - yts_torrents and movie_torrents). There are several reasons but the most prominent one being that some people might use it for torrenting unsanctioned copyrighted material. As mentioned in the disclaimer, this was not the goal. Maybe this was the reason that I have not thought about this project since the time it was put on Github and therefore it's very outdated and might not even work out-of-the box.
This is a Python script to scrape all the available movie torrent names wih their respective IMDB score, number of likes and number of downloads from yts.am so that we can filter out better movies from the site. Yts.am do not have good search and filter tools. This script saves the data in a csv file and hence enable the user to open it in any spreadsheet software and filter the data
UPDATE : The script can now scrape IMDb movie links and 720p and 1080p torrent links. Also it can now handle movies which have special charachters in their names.
NOTE : If yts.am(Yify movies) is blocked at your place, first connect the internet to a VPN and then run the script.
This script needs two external dependencies
- beautfulsoup4
- requests
To install all the requirements, go to the code directory and run the following in command prompt;
pip install -r requirements.txt
The main executable file is yify_browse.py
Change to the code directory in command prompt and run
python yify_browse.py
To download all the Torrents at a stretch run
python downloadlinks.py
Note : all the torrent files will be downloaded to the browser(default) downloads path
Warning : The script will scrape a large amount of data and if you do not want it to be displayed on your prompt, you can comment out the print statements in the code. Data will be saved in csv file after the execution is complete.
Downloading copyright movies may be illegal in your country. This tool is for educational purposes only.