diff options
| author | Naglis Jonaitis <njonaitis@gmail.com> | 2015-06-14 20:58:15 +0300 | 
|---|---|---|
| committer | Naglis Jonaitis <njonaitis@gmail.com> | 2015-06-14 20:59:22 +0300 | 
| commit | 755a9d3d1a8f99b061c8d29525d629b8ad6061a4 (patch) | |
| tree | ecb486b61c945348adb5f2bed7b7a98feaa76c31 | |
| parent | ac499cb61c67ea1d654d1522b1b5a5d27f827147 (diff) | |
[tvplay] Add support for NovaTv
| -rw-r--r-- | youtube_dl/extractor/tvplay.py | 17 | 
1 files changed, 17 insertions, 0 deletions
| diff --git a/youtube_dl/extractor/tvplay.py b/youtube_dl/extractor/tvplay.py index e83e31a31..79863e781 100644 --- a/youtube_dl/extractor/tvplay.py +++ b/youtube_dl/extractor/tvplay.py @@ -26,6 +26,7 @@ class TVPlayIE(InfoExtractor):             viasat4play\.no/programmer|             tv6play\.no/programmer|             tv3play\.dk/programmer| +           play\.novatv\.bg/programi          )/[^/]+/(?P<id>\d+)          '''      _TESTS = [ @@ -173,6 +174,22 @@ class TVPlayIE(InfoExtractor):                  'skip_download': True,              },          }, +        { +            'url': 'http://play.novatv.bg/programi/zdravei-bulgariya/624952?autostart=true', +            'info_dict': { +                'id': '624952', +                'ext': 'flv', +                'title': 'Здравей, България (12.06.2015 г.) ', +                'description': 'md5:99f3700451ac5bb71a260268b8daefd7', +                'duration': 8838, +                'timestamp': 1434100372, +                'upload_date': '20150612', +            }, +            'params': { +                # rtmp download +                'skip_download': True, +            }, +        },      ]      def _real_extract(self, url): | 
