From e8b9ab8957084d1b7ab60f14574e5d14d9417909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Wed, 6 May 2015 21:31:25 +0600 Subject: [PATCH] [pbs] Add `format_id` for direct links --- youtube_dl/extractor/pbs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/extractor/pbs.py b/youtube_dl/extractor/pbs.py index 761bd6d8d..143a76696 100644 --- a/youtube_dl/extractor/pbs.py +++ b/youtube_dl/extractor/pbs.py @@ -187,6 +187,7 @@ def _real_extract(self, url): else: formats.append({ 'url': format_url, + 'format_id': redirect.get('eeid'), }) self._sort_formats(formats)