]> jfr.im git - yt-dlp.git/blobdiff - README.md
[kika] Replace non working tests and recognize 'einzelsendung' urls.
[yt-dlp.git] / README.md
index cf4aebf3dfc0be5ef8c725efa8250a5e65fc1ee9..38db97c5980e8a3ff186e6e6d8d80fd801eb4e51 100644 (file)
--- a/README.md
+++ b/README.md
@@ -710,12 +710,13 @@ ### Adding support for a new site
             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),
+                'uploader': self._search_regex(r'<div[^>]+id="uploader"[^>]*>([^<]+)<', webpage, 'uploader', fatal=False),
                 # TODO more properties (see youtube_dl/extractor/common.py)
             }
     ```
@@ -794,7 +795,7 @@ # BUGS
 
 **Please include the full output of youtube-dl when run with `-v`**.
 
-The output (including the first lines) contain important debugging information. Issues without the full output are often not reproducible and therefore do not get solved in short order, if ever.
+The output (including the first lines) contains important debugging information. Issues without the full output are often not reproducible and therefore do not get solved in short order, if ever.
 
 Please re-read your issue once again to avoid a couple of common mistakes (you can and should use this as a checklist):