Skip to content
This repository has been archived by the owner on Sep 20, 2020. It is now read-only.

makkoncept/yts.am_scraper_

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thoughts on archiving

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.

yts.amscraper

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.

Prerequisites

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

Getting Started

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.

Built With

Disclaimer

Downloading copyright movies may be illegal in your country. This tool is for educational purposes only.