1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-25 07:47:55 +01:00

[beeg] Switch to api v4 (Closes #7774)

This commit is contained in:
Sergey M․ 2015-12-06 23:47:10 +06:00
parent 222e11d4ae
commit fd8e559c3a

View File

@ -34,7 +34,7 @@ class BeegIE(InfoExtractor):
video_id = self._match_id(url) video_id = self._match_id(url)
video = self._download_json( video = self._download_json(
'http://beeg.com/api/v3/video/%s' % video_id, video_id) 'http://beeg.com/api/v4/video/%s' % video_id, video_id)
def decrypt_key(key): def decrypt_key(key):
# Reverse engineered from http://static.beeg.com/cpl/1067.js # Reverse engineered from http://static.beeg.com/cpl/1067.js