Преглед на файлове

[streamable] Update API URL

Lucas M преди 8 години
родител
ревизия
c1795ca6c8
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      youtube_dl/extractor/streamable.py

+ 1 - 1
youtube_dl/extractor/streamable.py

@@ -65,7 +65,7 @@ class StreamableIE(InfoExtractor):
         # to return video info like the title properly sometimes, and doesn't
         # include info like the video duration
         video = self._download_json(
-            'https://streamable.com/ajax/videos/%s' % video_id, video_id)
+            'https://ajax.streamable.com/videos/%s' % video_id, video_id)
 
         # Format IDs:
         # 0 The video is being uploaded