Commit Graph

5100 Commits

Author SHA1 Message Date
bastimeyer 7c4bb8c4d6 docs: bump myst-parser dependency requirement 2024-04-23 18:49:21 +02:00
bastimeyer e8689c4caa plugins.nownews: remove plugin 2024-04-23 11:30:30 +02:00
bastimeyer d108858899 cli: refactor CLI errors
- Add `StreamlinkCLIError` exception class
- Remove `ConsoleOutput.exit()` and remove `error` handling
  from `ConsoleOutput.msg_json()`
- Handle raised `StreamlinkCLIError`s in `main()`
- Update and refactor some CLI tests
2024-04-22 19:19:35 +02:00
bastimeyer 1b36bf6d45 cli: fix typing information 2024-04-22 19:19:35 +02:00
Lee Taehoon 3c8e2dc029 plugins.afreeca: enhance quality fetching 2024-04-20 17:26:21 +02:00
Lee Taehoon 293ceb1e74 plugins.afreeca: support for password-protected streams 2024-04-20 17:18:51 +02:00
bastimeyer ec155d865f chore: update plugin issue template 2024-04-18 11:43:02 +02:00
bastimeyer 7a4a2905ea docs: rephrase and clarify plugin rules 2024-04-18 11:40:04 +02:00
bastimeyer 525ad6b501 docs: rewrite "pull requests" guide 2024-04-16 23:25:35 +02:00
bastimeyer 3c496eea91 docs: rewrite "reporting bugs" guide 2024-04-16 23:25:35 +02:00
bastimeyer ea7159b897 docs: remove KNOWN_ISSUES.md 2024-04-16 23:25:35 +02:00
bastimeyer 36270d7e9b tools: unset max line length in markdown files 2024-04-16 23:25:35 +02:00
bastimeyer c9264cb705 plugins.turkuvaz: add HLS URL mapping 2024-04-16 17:52:08 +02:00
bastimeyer abf230fe69 release: 6.7.3 2024-04-14 17:36:00 +02:00
bastimeyer c8be9585a7 tools: bump ruff to 0.3.7 2024-04-12 16:41:59 +02:00
bastimeyer 5a3fb46d4b ci.codecov: add build_backend status check 2024-04-10 17:54:12 +02:00
Alexis Murzeau a906592274 tests: fix test_onbuild when executed from build directory
When executing tests from the build directory (generated by bdist),
the location of the Streamlink source is directly at the root directory
and not in a `src` subdirectory.

This is what Debian does when building python packages to ensure newly
built files are tested instead of source files.
2024-04-10 01:35:44 +02:00
bastimeyer d5aa26f6f5 webbrowser: fix propagation of BaseException
- Fix `KeyboardInterrupt`/`SystemExit` exceptions
  not being propagated in nested `ExceptionGroup`s
- Fix compatibility with `exceptiongroup<=1.1.1`
  by avoiding their `catch()` context manager
- Add missing test for (re-)raising different exception types
2024-04-10 01:25:03 +02:00
bastimeyer 0466622dc0 plugin.api.validate: check parse_qsd() input type 2024-04-09 21:45:47 +02:00
bastimeyer f43d0eb471 cli.utils.path: fix max bytes 2024-04-07 00:31:25 +02:00
bastimeyer ceda08ed25 plugins.mangomolo: fix media.gov.kw matcher 2024-04-07 00:26:16 +02:00
bastimeyer d396db4588 plugins.mangomolo: fix missing Referer header 2024-04-05 03:02:07 +02:00
bastimeyer eecf60935a cli.utils.formatter: respect max file name length 2024-04-04 16:25:37 +02:00
bastimeyer 54803f5a80 cli.utils.path: add truncate_path() 2024-04-04 16:25:37 +02:00
bastimeyer 4abb9ae9cf tests: refactor CLI path utils tests 2024-04-04 16:25:37 +02:00
bastimeyer 20247d4ca5 plugins.pluto: rewrite plugin 2024-04-02 15:46:11 +02:00
streamlinkbot 39961a597e plugin.api: update useragents 2024-04-01 02:42:07 +02:00
bastimeyer d237a69620 docs: fix anchor on install page 2024-04-01 01:14:33 +02:00
bastimeyer 3d8860e6b8 plugins.showroom: fix geo-block check 2024-03-29 18:23:30 +01:00
bastimeyer f87bbd59f5 plugins.vkplay: update matcher and API URL 2024-03-28 18:38:39 +01:00
bastimeyer 33879e284c tools: bump mypy to 1.9.0 2024-03-26 21:58:46 +01:00
bastimeyer caf6976d92 tools: bump ruff to 0.3.4 2024-03-26 21:58:46 +01:00
bastimeyer 8d73b09606 release: 6.7.2 2024-03-23 13:21:02 +01:00
bastimeyer 78d0b58d75 build: set trio min-requirement back to 0.22
- set `strict_exception_groups=True` in `CDPClient.launch()`
- monkey-patch `trio.run()` early in Streamlink's tests
2024-03-22 20:11:10 +01:00
bastimeyer 7c7c98f8b8 tests: require pytest 8.0.0 2024-03-19 21:15:35 +01:00
bastimeyer 7235437032 release: 6.7.1 2024-03-19 14:25:49 +01:00
bastimeyer 6e218ae725 plugins.vimeo: fix offline event streams 2024-03-19 14:21:31 +01:00
bastimeyer 40c16b85e9 tests: reset root logger level in cmdline tests 2024-03-18 18:16:25 +01:00
bastimeyer 75805add3f docs: rephrase exceptiongroup description 2024-03-18 17:42:35 +01:00
bastimeyer fd49f2ce1e plugins.vimeo: fix event and player URLs 2024-03-18 17:24:59 +01:00
bastimeyer 90fe9e4215 plugins.twitch: update CI-token error handling 2024-03-18 00:04:35 +01:00
bastimeyer 1a7295b110 webbrowser: fix compatibility with trio 0.25
- Set min. version requirement of `trio` to `0.25`,
  so we don't have to set `strict_exception_groups` to `True` on older
  versions (probably not even possible via `pytest-trio`)
- Fix compatibility with `trio>=0.25`:
  Since `strict_exception_groups` now defaults to `True`, trio nurseries
  now always raise an `ExceptionGroup` in all cases, so update tests
  and handle exception groups instead. Don't unwrap exception groups
  for now, even if only a single exception is included.
  Explicitly handle `KeyboardInterrupt`/`SystemExit` and re-raise
  by using the `exceptiongroup.catch` utility (<py311 compat)
2024-03-18 00:04:35 +01:00
bastimeyer af4c69188a build: add exceptiongroup dependency
Add the `exceptiongroup` dependency directly to Streamlink, so we
can write `ExceptionGroup` handling code on all supported versions
of Python without having to rely on `trio`'s conditional dependency.
2024-03-18 00:04:35 +01:00
bastimeyer 764beeca4f build: set trio dependency to <0.25 for now 2024-03-17 11:11:55 +01:00
bastimeyer cadd180b7f plugins.tv3cat: rewrite plugin, add missing VODs 2024-03-15 21:03:45 +01:00
Alexis Murzeau 251fe08f8d
tests: reset root logger level in test teardown 2024-03-13 00:43:23 +01:00
bastimeyer 6bbbb8e40b tests: refactor CLI progress tests 2024-03-12 19:56:46 +01:00
bastimeyer 870fda060d cli: update progress output after stream has ended 2024-03-12 19:56:46 +01:00
bastimeyer 7f33bc0a8f docs: fix 6.7.0 changelog 2024-03-10 20:17:21 +01:00
bastimeyer 063be77c20 tools: bump ruff to 0.3.2 2024-03-10 20:17:13 +01:00