- Deprecate text alias and raise StreamlinkDeprecationWarning on access
- Add deprecation to docs
- Replace validate.text with str in remaining plugins
- Update test
The metadata is copied from the documentation's plugin_matrix, which is
going to be replaced by a sphinx extension which parses the metadata
in each plugin file and dynamically generates the plugins document.
Metadata tests will be added with sphinx extension.
TODO:
- Add $description metadata tags. Some of the plugin descriptions can be
found in the git history, while others have to be retrieved from
issues and pull requests on GitHub, or they have to be looked up.
- Add URLs to metadata which were previously missing in the
plugin matrix due to space constraints (see the matcher regexes).
- add author, category and title attributes to base Plugin class
- make getters return attributes instead of None
- remove unnecessary duplicate attributes and getters from plugins
- keep getters in plugins which use custom logic
Plugins with only one URL regex which reference capture groups, but
don't translate URLs and their `can_handle_url` is simple.
Update and fix URL regex patterns:
- remove unnecessary anchors and optional trailing wildcards
- optionally match https (scheme update is plugin responsibility)
- escape actual dots in hostnames and path file extensions
- fix subdomain (non-)capture groups (don't match anything)
- fix unnecessarily escaped characters
- simplify character sets
- improve readability (verbose and non-verbose patterns)
E126 continuation line over-indented for hanging indent
E127 continuation line over-indented for visual indent
E128 continuation line under-indented for visual indent