diff options
author | Philipp Hagemeister <[email protected]> | 2015-10-23 09:33:05 +0200 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2015-10-23 09:33:05 +0200 |
commit | ab03c0b47c142bfb649eacb3c72ce9cb67184535 (patch) | |
tree | 0dc93d6de46de51736dde1f6ff79ef5fb05d7b19 /CONTRIBUTING.md | |
parent | 769078755318896fa1a6c5c8aba6f76d6aeddf78 (diff) | |
download | youtube-dl-ab03c0b47c142bfb649eacb3c72ce9cb67184535.tar.gz youtube-dl-ab03c0b47c142bfb649eacb3c72ce9cb67184535.zip |
release 2015.10.232015.10.23
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 32c2fd84c..aebded4ce 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -114,12 +114,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'<h1>(.*?)</h1>', webpage, 'title') + title = self._html_search_regex(r'<h1>(.+?)</h1>', webpage, 'title') return { 'id': video_id, 'title': title, 'description': self._og_search_description(webpage), + 'uploader': self._search_regex(r'<div[^>]+id="uploader"[^>]*>([^<]+)<', webpage, 'uploader', fatal=False), # TODO more properties (see youtube_dl/extractor/common.py) } ``` |