]>
Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/downloader/__init__.py
1 from .common
import FileDownloader
3 from .http
import HttpFD
4 from .mplayer
import MplayerFD
5 from .rtmp
import RtmpFD
11 def get_suitable_downloader(info_dict
):
12 """Get the downloader class that can handle the info dict."""
13 url
= info_dict
['url']
15 if url
.startswith('rtmp'):
17 if determine_ext(url
) == u
'm3u8':
19 if url
.startswith('mms') or url
.startswith('rtsp'):