projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c920d7f
)
[README] Mention _og_search_description (#4304)
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 25 Nov 2014 08:36:25 +0000
(09:36 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 25 Nov 2014 08:36:27 +0000
(09:36 +0100)
Lots of sites do have this meta tag, so just add it to the example.
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index 6e572813c62881b276c392e7d9e98979230ffe16..cce2819fd6e26e41c77f7f7dcb050aea232b54ed 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-500,6
+500,7
@@
If you want to add support for a new site, you can follow this quick list (assum
return {
'id': video_id,
'title': title,
+ 'description': self._og_search_description(webpage),
# TODO more properties (see youtube_dl/extractor/common.py)
}
```