[beeg] Fix extraction (Closes #8225)

This commit is contained in:
Sergey M․ 2016-01-14 19:57:20 +06:00
parent 40cf7fcbd2
commit 4511c1976d

View File

@ -60,7 +60,7 @@ def decrypt_key(key):
def decrypt_url(encrypted_url): def decrypt_url(encrypted_url):
encrypted_url = self._proto_relative_url( encrypted_url = self._proto_relative_url(
encrypted_url.replace('{DATA_MARKERS}', ''), 'http:') encrypted_url.replace('{DATA_MARKERS}', ''), 'https:')
key = self._search_regex( key = self._search_regex(
r'/key=(.*?)%2Cend=', encrypted_url, 'key', default=None) r'/key=(.*?)%2Cend=', encrypted_url, 'key', default=None)
if not key: if not key: