All Projects → eyenx → yify.py

eyenx / yify.py

Licence: other
Python script to interact wit yify-torrents api

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to yify.py

SeedTruck
Torrent management app for iOS, macOS, tvOS and watchOS made in SwiftUI 2. Same codebase for all platforms!
Stars: ✭ 25 (+66.67%)
Mutual labels:  torrent
qbittorrentui
text user interface for qbittorrent
Stars: ✭ 19 (+26.67%)
Mutual labels:  torrent
rust-torrent-search
Tool written in Rust to search for torrents
Stars: ✭ 14 (-6.67%)
Mutual labels:  torrent
ut pex
Implementation of ut_pex bittorrent protocol (PEX) for webtorrent
Stars: ✭ 54 (+260%)
Mutual labels:  torrent
MiXLab
MiXLab is a mix of multiple amazing Colab Notebooks found on the internet such as rcloneLab, RLabClone, Torrent to Google Drive Downloader and some more.
Stars: ✭ 143 (+853.33%)
Mutual labels:  torrent
rustorrent
A BitTorrent library implemented in Rust
Stars: ✭ 37 (+146.67%)
Mutual labels:  torrent
rarbg-api
A simple node.js wrapper for rarbg.to api
Stars: ✭ 21 (+40%)
Mutual labels:  torrent
torrent-pizza
🍕 Stream video from torrents in your browser
Stars: ✭ 39 (+160%)
Mutual labels:  torrent
peerstohttp
Simple torrent proxy to http stream controlled over REST-like api
Stars: ✭ 30 (+100%)
Mutual labels:  torrent
torrent-spider
基于DHT的p2p网络资源爬虫
Stars: ✭ 65 (+333.33%)
Mutual labels:  torrent
tdpt
Torrent downloading progress on Telegram
Stars: ✭ 32 (+113.33%)
Mutual labels:  torrent
alpine-rtorrent
Dockerized rTorrent based on Alpine Linux, with a better Docker integration.
Stars: ✭ 28 (+86.67%)
Mutual labels:  torrent
WarezBot
Public Version of Discord bot for scene release
Stars: ✭ 30 (+100%)
Mutual labels:  torrent
seedbox-from-scratch
The Dockered Seedbox From Scratch Mod 2 Script
Stars: ✭ 14 (-6.67%)
Mutual labels:  torrent
ocelot
Alternative compiled announcer (ocelot)
Stars: ✭ 14 (-6.67%)
Mutual labels:  torrent
autobrr
Automation for downloads.
Stars: ✭ 288 (+1820%)
Mutual labels:  torrent
webtorrent-health
💚 Get health info about a webtorrent file or magnet link
Stars: ✭ 27 (+80%)
Mutual labels:  torrent
qbittorrent-bot
Telegram bot to mange your qBittorrent torrents
Stars: ✭ 91 (+506.67%)
Mutual labels:  torrent
Flood Mobile
GSoC 21' @CCExtractor. A modern mobile UI for various torrent clients with a Node.js backend and Flutter frontend.
Stars: ✭ 48 (+220%)
Mutual labels:  torrent
live-torrent-backend
The backend server for the live-torrent project
Stars: ✭ 38 (+153.33%)
Mutual labels:  torrent

RIP

YIFY/YTS shut down. Yify.py won't work anymore.

yify.py

Python script to interact wit yify-torrents api

usage:

yify.py

options:

-l, --limit: limit the max amount of movie results (integer 1-50)

-q, --quality: choose between 720p, 1080p or 3D.

-r, --rating: sets minimum imd rating (integer 1-10)

-g, --genre: genre see http://www.imdb.com/genre/ for full list.

-s, --sort: sort result by date, seeds, peers, size, alphabet, rating, downloaded.

-o, --order: order ascending or descending (asc/desc).

-a, --autoadd: automatically add every single search result through your command.

-c, --command: change your chosen default command to add the magnet links

-t, --torrenturl: use torrent url instead of magnet link

Invalid input will try to search with default values.

TODO:

  • Add autoadd-all functionality

Watch yify movies on Chromecast

Use peerflix + the dabble site to watch yify movies on your Chromecast

This uses peerflix plus https://dabble.me/cast with the yify.py script found here https://github.com/eyenx/yify.py

Basic setup instructions: You will need nodejs, npm, and python-requests (Ubuntu)

sudo apt-get install nodejs npm python-requests git

Then

sudo npm install peerflix -g

By default the peerflix script looks for node but the binary is called nodejs most of the time. Run this and edit the very first line and change node to nodejs.

sudo nano $(which peerflix)

Then we need to clone the yify torrents script.

git clone https://github.com/eyenx/yify.py

cd yify.py

Edit yify.py and replace python with python3 in the very first line.

Run

./yify.py -c peerflix

to set the command that is run upon selecting a torrent

Export your browser variable (needed for yify.py but not used here)

export BROWSER=anything

Run

./yify.py -t <search term>

(-t signifies we want the torrent URL instead of the magnet link)

Select the movie you want and press enter. This will launch peerflix. Quickly copy the top URL into a Chrome window. In my case it was

http://192.168.1.135:8888

Let this load in the browser first. We need to make sure it has downloaded enough to start playing.

Then use this bookmarklet (the original bookmarklet from dabble doesn't recognize this URL as valid since it doesnt contain a file extension)

javascript:location.href='https://dabble.me/cast/?video_link='+document.location.href;

Then just click on that bookmarklet. The dabble page will load up. Use the normal cast extension to select your Chromecast and then hit Play. If it says error at first just refresh. It will stay connected to the chromecast and should start playing afterwards.

Note to stop peerflix you have to run

killall nodejs

in a terminal window.

Windows instructions http://www.reddit.com/r/Chromecast/comments/1x992z/use_peerflix_the_dabble_site_to_watch_yify_movies/cf9tokp

Raspbian Instructions:

python3 is already there!

Now make sure You remove any nodejs/npm packages already installed.

sudo apt-get purge nodejs

sudo apt-get purge npm

Now Install Node js using the command below( Thanks to midnightcodr on github)

curl -L https://raw.github.com/midnightcodr/rpi_node_install/master/setup.sh | bash -s 0.10.24

Note that you can invoke node with command node and not nodejs, so the edit in the peerflix nodejs script is not required.

Once node is installed , Install npm

sudo apt-get install npm

Then do a global install of peerflix.

sudo npm install peerflix -g

Now you can use yify script

sudo BROWSER=ddd python3 yify.py -c peerflix

sudo BROWSER=ddd python3 yify.py -t "wolf of wallstreet"

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].