]> jfr.im git - yt-dlp.git/blobdiff - .gitignore
[cookies] Handle errors when importing `keyring`
[yt-dlp.git] / .gitignore
index 9d371d9978fe7fa089524604ae5d412c79e11ad8..711bffaba6bf73217ee6599ba5e255574e23dd41 100644 (file)
@@ -1,34 +1,10 @@
-*.pyc
-*.pyo
-*.class
-*~
-*.DS_Store
-wine-py2exe/
-py2exe.log
-*.kate-swp
-build/
-dist/
-MANIFEST
-README.txt
-youtube-dl.1
-youtube-dlc.1
-youtube-dl.bash-completion
-youtube-dlc.bash-completion
-youtube-dl.fish
-youtube-dlc.fish
-youtube_dl/extractor/lazy_extractors.py
-youtube_dlc/extractor/lazy_extractors.py
-youtube-dl
-youtube-dlc
-youtube-dl.exe
-youtube-dlc.exe
-youtube-dl.tar.gz
-youtube-dlc.tar.gz
-youtube-dlc.spec
-.coverage
-cover/
-updates_key.pem
-*.egg-info
+# Config
+*.conf
+*.spec
+cookies
+cookies.txt
+
+# Downloaded
 *.srt
 *.ttml
 *.sbv
@@ -39,24 +15,88 @@ updates_key.pem
 *.m4v
 *.mp3
 *.3gp
+*.webm
 *.wav
 *.ape
 *.mkv
 *.swf
 *.part
+*.part-*
 *.ytdl
+*.dump
+*.frag
+*.frag.urls
+*.aria2
 *.swp
+*.ogg
+*.opus
+*.info.json
+*.live_chat.json
+*.jpg
+*.jpeg
+*.png
+*.webp
+*.annotations.xml
+*.description
+
+# Allow config/media files in testdata
+!test/testdata/**
+
+# Python
+*.pyc
+*.pyo
+wine-py2exe/
+py2exe.log
+build/
+dist/
+zip/
+tmp/
+venv/
+completions/
+
+# Misc
+*~
+*.DS_Store
+*.kate-swp
+MANIFEST
 test/local_parameters.json
+.coverage
+cover/
+secrets/
+updates_key.pem
+*.egg-info
 .tox
-youtube-dl.zsh
-youtube-dlc.zsh
+*.class
+
+# Generated
+AUTHORS
+README.txt
+.mailmap
+*.1
+*.bash-completion
+*.fish
+*.exe
+*.tar.gz
+*.zsh
+*.spec
 
-# IntelliJ related files
+# Binary
+/youtube-dl
+/youtube-dlc
+/yt-dlp
+yt-dlp.zip
+*.exe
+
+# Text Editor / IDE
 .idea
 *.iml
+.vscode
+*.sublime-*
 
-tmp/
-venv/
+# Lazy extractors
+*/extractor/lazy_extractors.py
 
-# VS Code related files
-.vscode
+# Plugins
+ytdlp_plugins/extractor/*
+!ytdlp_plugins/extractor/__init__.py
+!ytdlp_plugins/extractor/sample.py