Commit 70034d00 authored by Laurent Bachelier's avatar Laurent Bachelier 🐧

Provide the right extension for downloads

parent 0dacfa11
......@@ -38,6 +38,10 @@ __all__ = ['RadioFranceBrowser', 'RadioFranceVideo']
class RadioFranceVideo(BaseVideo):
RADIOS = ('franceinter', 'franceculture')
def __init__(self, *args, **kwargs):
BaseVideo.__init__(self, *args, **kwargs)
self.ext = 'mp3'
def id2url(cls, _id):
radio_id, replay_id = _id.split('-', 2)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment