diff options
Diffstat (limited to 'artetv_dl')
-rwxr-xr-x | artetv_dl/__main__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/artetv_dl/__main__.py b/artetv_dl/__main__.py index 02bcb9e..814b2f1 100755 --- a/artetv_dl/__main__.py +++ b/artetv_dl/__main__.py @@ -35,7 +35,7 @@ def main(): name = json_data['videoJsonPlayer']['VTI'] url = json_data['videoJsonPlayer']['VSR']['HTTPS_SQ_1']['url'] - name=name+".mp4" + name=name.replace('/', '-')+".mp4" try: print("Downloading '"+name+"'...") urlretrieve(url, name) |