Pārlūkot izejas kodu

youtube-dl notes

Håvard O. Nordstrand 4 gadi atpakaļ
vecāks
revīzija
bebd1d2e0a
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      config/general/linux-examples.md

+ 2 - 2
config/general/linux-examples.md

@@ -160,10 +160,10 @@ breadcrumbs:
 - Modify the output file path and name:
     - Supports a Python-style format string.
     - See [output template (youtube-dl)](https://github.com/ytdl-org/youtube-dl#output-template) for a list of variables.
-    - Example: `-o "%(uploader)s (%(upload_date)s) - %(title)s [%(id)s]"`
+    - Example: `-o "%(uploader)s (%(upload_date)s) - %(title)s [%(id)s].%(ext)s"`
 - Common warnings and errors:
     - "*WARNING: Requested formats are incompatible for merge and will be merged into mkv.*": The best quality video and audio are different formats and will therefore be merged into an MKV file. This is completely fine.
-    - "*ERROR: [...]: YouTube said: Unable to extract video data*": Try to open the video in an incognito browser to check what's up with it. If it requires you to log in, you may need to specify cookies and possibly your user agent. See [How do I pass cookies to youtube-dl?](https://github.com/ytdl-org/youtube-dl/blob/master/README.md#how-do-i-pass-cookies-to-youtube-dl).
+    - "*ERROR: [...]: YouTube said: Unable to extract video data*": Try to open the video in an incognito browser to check what's up with it. If it requires you to log in, you may need to specify cookies and possibly your user agent. To specify cookies, log into a browser (Firefox or Chrome), export the cookies to file using the "cookie.txt" extension, and specify the cookie file for youtube-dl with the `--cookie <file>` option (see [How do I pass cookies to youtube-dl? (youtube-dl)](https://github.com/ytdl-org/youtube-dl/blob/master/README.md#how-do-i-pass-cookies-to-youtube-dl)).
 
 ### Rip DVD to ISO