1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 19:36:50 +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