-*.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
-.coverage
-cover/
-updates_key.pem
-*.egg-info
+# Config
+*.conf
+*.spec
+cookies
+cookies.txt
+
+# Downloaded
*.srt
*.ttml
*.sbv
*.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
+*.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