From c52d0c8d1f7f20f858f2e7be94ec2fbf853d332b Mon Sep 17 00:00:00 2001 From: Alhaziel Date: Sat, 21 Sep 2019 12:43:49 +0200 Subject: [PATCH] Fix Rapidcrypt --- lib/unshortenit.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/unshortenit.py b/lib/unshortenit.py index 894b2998..5466ec23 100644 --- a/lib/unshortenit.py +++ b/lib/unshortenit.py @@ -444,12 +444,12 @@ class UnshortenIt(object): try: r = httptools.downloadpage(uri, timeout=self._timeout, cookies=False) html = r.data + html = html.replace("'",'"') if 'embed' in uri: - uri = re.findall(r']*)>', html)[0] + uri = re.findall(r']+)', html)[0] else: - uri = re.findall(r']+)>', html)[0] - + uri = re.findall(r']+)', html)[0] return uri, r.code except Exception as e: