Created
March 7, 2014 16:45
-
-
Save kanazux/4e270231aaf09f18e6e4 to your computer and use it in GitHub Desktop.
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
def findserie(serie,season,srange,frange): | |
import os | |
nserie = serie.replace(" ","_") | |
os.system("firefox -P default &") | |
for x in range(srange,frange): | |
os.system("firefox -p default --new-tab http://thepiratebay.se/search/%s\ s%se%s\/0\/7\/0" % (nserie,"{:02d}".format(season),"{:02d}".format(x))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment