X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=README.md;h=38db97c5980e8a3ff186e6e6d8d80fd801eb4e51;hb=0c176d7bde6fedfb2572caf09cbeb07e14c2f5f7;hp=cf4aebf3dfc0be5ef8c725efa8250a5e65fc1ee9;hpb=c571dea9532e468ba294b933d16d9366baf825d5;p=youtube-dl.git diff --git a/README.md b/README.md index cf4aebf3d..38db97c59 100644 --- a/README.md +++ b/README.md @@ -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: