diff --git a/channels/toonitalia.py b/channels/toonitalia.py index eeff58af..fdfd8c41 100644 --- a/channels/toonitalia.py +++ b/channels/toonitalia.py @@ -71,7 +71,7 @@ def check(item): def episodios(item): anime = True item.contentType = 'tvshow' - patron = r'>\s*(?:(?P\d+)(?:×|x|×))?(?:0*)?(?P\d+)(?:\s+–\s+)?[ –]+(?P[^<]+)' + patron = r'>\s*(?:(?P<season>\d+)(?:×|x|×))?(?P<episode>\d+)(?:\s+–\s+)?[ –]+(?P<title>[^<]+)[ –]+<a (?P<data>.*?)(?:<br|</p)' return locals() diff --git a/lib/unshortenit.py b/lib/unshortenit.py index a7ff6d90..5937e4d6 100644 --- a/lib/unshortenit.py +++ b/lib/unshortenit.py @@ -709,7 +709,7 @@ class UnshortenIt(object): return httptools.downloadpage(uri, only_headers=True, follow_redirects=False).headers.get('location', uri), 200 def _unshorten_uprot(self, uri): - html = httptools.downloadpage(uri, cloudscraper=True).data + html = httptools.downloadpage(uri, cloudscraper=False).data link = scrapertools.find_single_match(html, r'--></button></[a|div]?>.+?<a[^>]+href="([^"]+)">') if link != uri: return link, 200