]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[README] Add thumbnail to _TEST example
authorPhilipp Hagemeister <phihag@phihag.de>
Fri, 22 Aug 2014 09:30:39 +0000 (11:30 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Fri, 22 Aug 2014 09:30:49 +0000 (11:30 +0200)
While it's not mandatory, extractors are highly encouraged to provide a thumbnail field.

README.md

index ba350b90589935d5f19a6b0f1282fe26ac206e4c..72449cad71a09f855088a9df8b3ac1df9e5bcc18 100644 (file)
--- a/README.md
+++ b/README.md
@@ -429,6 +429,7 @@ If you want to add support for a new site, you can follow this quick list (assum
                 'id': '42',
                 'ext': 'mp4',
                 'title': 'Video title goes here',
+                'thumbnail': 're:^https?://.*\.jpg$',
                 # TODO more properties, either as:
                 # * A value
                 # * MD5 checksum; start the string with md5: