# VERSION: 1.1 # AUTHORS: github.com/444995 # Not the best code I've written, will prob get updated import re import gzip import tempfile import urllib.parse from urllib.error import HTTPError import http.cookiejar as cookielib from novaprinter import prettyPrinter # EVEN IF THIS IS SET TO FALSE # IT STILL FALLS BACK TO MAGNET LINKS # IF A TORRENT FILE IS NOT AVAILABLE USE_MAGNET_LINKS = False # FALSE IS RECOMMENDED class zooqle(object): url = 'https://zooqle.skin' name = 'Zooqle' supported_categories = { 'all': '0', 'anime': 'anime', 'movies': 'movies', 'tv': 'tv', 'music': 'music', 'games': 'games', 'software': 'apps', 'books': None, } search_url = f"{url}/search/" download_url = f"{url}/torfile/" torrent_page_url = f'{url}/torrent-page/' PATTERNS = { 'category': r'