Force ipv4 master
authorMikael Frykholm <mikael.frykholm@umu.se>
Tue, 19 Mar 2019 14:38:42 +0000 (15:38 +0100)
committerMikael Frykholm <mikael.frykholm@umu.se>
Tue, 19 Mar 2019 14:38:42 +0000 (15:38 +0100)
mirror-svtplay.py

index a08e14cc6581cbdf43a5d9ff2812777929d7b99c..d17d6add5713d6cfa6b1c5dc5245f97a04ee945b 100755 (executable)
@@ -73,6 +73,7 @@ def download(video):
                  'allsubtitles': True,
                  'writethumbnail': True, 
                  'outtmpl' : f'{path}/%(title)s-%(id)s.%(ext)s',
                  'allsubtitles': True,
                  'writethumbnail': True, 
                  'outtmpl' : f'{path}/%(title)s-%(id)s.%(ext)s',
+                 'source_address': '0.0.0.0',
                  'postprocessors': [
                   {
                   'key': 'ExecAfterDownload',
                  'postprocessors': [
                   {
                   'key': 'ExecAfterDownload',