Created
December 7, 2016 19:53
-
-
Save concubidated/1a2bbc9f6b16a9d12d61f1bb84f05707 to your computer and use it in GitHub Desktop.
Super Simple script that grabs Magnet links for shows off EZTV
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import eztvit | |
import sys | |
import urllib3 | |
urllib3.disable_warnings() | |
show = sys.argv[1] | |
episodelist = eztvit.EztvIt().get_episodes(show) | |
for episodeid in episodelist[1]: | |
episode=episodelist[1][episodeid][0] | |
print episode['release'] | |
print episode['download']['magnet'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment