def get_new(ssl, page): """Get all new stuff""" category = 'new' pp_torrents, torrents = fetch(category, ssl, page, search=False) new = [] for i in xrange_(len(pp_torrents)): new.append(pp_torrents[i]) print(yellow('\nLATEST TORRENTS\n')) pptable(new) download_prep(torrents)
def get_naughty(ssl, page): """Get the XXX movies""" category = 'xxx' pp_torrents, torrents = fetch(category, ssl, page, search=False) naughty = [] for i in xrange_(len(pp_torrents)): naughty.append(pp_torrents[i]) print(yellow('\nLATEST MOVIE TORRENTS\n')) pptable(naughty) download_prep(torrents)
def get_movies(ssl, page): """Get the lates movies""" category = 'movies' pp_torrents, torrents = fetch(category, ssl, page, search=False) movies = [] for i in xrange_(len(pp_torrents)): movies.append(pp_torrents[i]) print(yellow('\nLATEST MOVIE TORRENTS\n')) pptable(movies) download_prep(torrents)
def get_books(ssl, page): """Get the latest books""" category = 'books' pp_torrents, torrents = fetch(category, ssl, page, search=False) books = [] for i in xrange_(len(pp_torrents)): books.append(pp_torrents[i]) print(yellow('\nLATEST BOOKS TORRENTS\n')) pptable(books) download_prep(torrents)
def get_apps(ssl, page): """Get the latest apps""" category = 'applications' pp_torrents, torrents = fetch(category, ssl, page, search=False) apps = [] for i in xrange_(len(pp_torrents)): apps.append(pp_torrents[i]) print(yellow('\nLATEST APPLICATION TORRENTS\n')) pptable(apps) download_prep(torrents)
def get_music(ssl, page): """Get the latest music""" category = 'music' pp_torrents, torrents = fetch(category, ssl, page, search=False) music = [] for i in xrange_(len(pp_torrents)): music.append(pp_torrents[i]) print(yellow('\nLATEST MUSIC TORRENTS\n')) pptable(music) download_prep(torrents)
def get_tv(ssl, page): """Get the new TV Shows""" category = 'tv' pp_torrents, torrents = fetch(category, ssl, page, search=False) tv = [] for i in xrange_(len(pp_torrents)): tv.append(pp_torrents[i]) print(yellow('\nLATEST TV TORRENTS\n')) pptable(tv) download_prep(torrents)
def lets_search(sobj, ssl, page): """Get the Search""" pp_torrents, torrents = fetch(sobj, ssl, page, search=True) result = [] if len(pp_torrents) <= 1: result = pp_torrents else: for i in xrange_(len(pp_torrents)): result.append(pp_torrents[i]) print(yellow('SEARCH RESULT FOR : ') + sobj + '\n') pptable(result) download_prep(torrents)