X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=README.md;h=b4069515e130cb250234b519d56ce128f848564c;hb=948bcc60df48415ddbf3d7ea03bc3af53a9d928d;hp=1be46430b7ae3fc6211cb7a7ac5ec87fe00d0d18;hpb=d1b3e3dd757eda740f0bfbacd2d74aa00ead9fd0;p=youtube-dl diff --git a/README.md b/README.md index 1be46430b..b4069515e 100644 --- a/README.md +++ b/README.md @@ -250,6 +250,7 @@ which means you can modify it, redistribute it or use it however you like. default --embed-subs embed subtitles in the video (only for mp4 videos) + --embed-thumbnail embed thumbnail in the audio as cover art --add-metadata write metadata to the video file --xattrs write metadata to the video file's xattrs (using dublin core and xdg standards) @@ -384,10 +385,10 @@ If you want to add support for a new site, you can follow this quick list (assum import re from .common import InfoExtractor - - + + class YourExtractorIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)yourextractor\.com/watch/(?P[0-9]+)' + _VALID_URL = r'https?://(?:www\.)?yourextractor\.com/watch/(?P[0-9]+)' _TEST = { 'url': 'http://yourextractor.com/watch/42', 'md5': 'TODO: md5 sum of the first 10KiB of the video file',