1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +01:00

[README] Mention _og_search_description (#4304)

Lots of sites do have this meta tag, so just add it to the example.
This commit is contained in:
Philipp Hagemeister 2014-11-25 09:36:25 +01:00
parent c920d7f00d
commit c3e74731c2

View File

@ -500,6 +500,7 @@ If you want to add support for a new site, you can follow this quick list (assum
return { return {
'id': video_id, 'id': video_id,
'title': title, 'title': title,
'description': self._og_search_description(webpage),
# TODO more properties (see youtube_dl/extractor/common.py) # TODO more properties (see youtube_dl/extractor/common.py)
} }
``` ```