projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
release 2015.10.23
[youtube-dl]
/
CONTRIBUTING.md
diff --git
a/CONTRIBUTING.md
b/CONTRIBUTING.md
index 32c2fd84cd156131cde88f13565e068a516ba9a1..aebded4ce21313dddd29dc639cbb7d2aa57641f3 100644
(file)
--- 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 ...
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),
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)
}
```
# TODO more properties (see youtube_dl/extractor/common.py)
}
```