lexicalspace commited on
Commit
4f41007
·
verified ·
1 Parent(s): 3ca48e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -60,7 +60,8 @@ if app_mode == "YouTube Downloader":
60
  }] if "Audio" in format_type else [],
61
  'quiet': True,
62
  'no_warnings': True,
63
- 'noplaylist': True
 
64
  }
65
 
66
  with yt_dlp.YoutubeDL(ydl_opts) as ydl:
 
60
  }] if "Audio" in format_type else [],
61
  'quiet': True,
62
  'no_warnings': True,
63
+ 'noplaylist': True,
64
+ 'force_ipv4': True # <--- THIS FIXES THE NETWORK ERROR
65
  }
66
 
67
  with yt_dlp.YoutubeDL(ydl_opts) as ydl: