X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=README.md;h=b286651cd712933fd4538b88499d9325b25d88e7;hb=e4c4bcf36f4e0bb575526701f852152f4fd976c4;hp=cf4aebf3dfc0be5ef8c725efa8250a5e65fc1ee9;hpb=181f814e572790d9d79ab3172fc791d274913b26;p=youtube-dl.git diff --git a/README.md b/README.md index cf4aebf3d..b286651cd 100644 --- a/README.md +++ b/README.md @@ -329,8 +329,8 @@ which means you can modify it, redistribute it or use it however you like. ## Subtitle Options: --write-sub Write subtitle file - --write-auto-sub Write automatic subtitle file (YouTube - only) + --write-auto-sub Write automatically generated subtitle file + (YouTube only) --all-subs Download all the available subtitles of the video --list-subs List all available subtitles for the video @@ -710,12 +710,13 @@ If you want to add support for a new site, you can follow this quick list (assum webpage = self._download_webpage(url, video_id) # TODO more code goes here, for example ... - title = self._html_search_regex(r'

(.*?)

', webpage, 'title') + title = self._html_search_regex(r'

(.+?)

', webpage, 'title') return { 'id': video_id, 'title': title, 'description': self._og_search_description(webpage), + 'uploader': self._search_regex(r']+id="uploader"[^>]*>([^<]+)<', webpage, 'uploader', fatal=False), # TODO more properties (see youtube_dl/extractor/common.py) } ``` @@ -794,7 +795,7 @@ Bugs and suggestions should be reported at: