Skip to content

Conversation

@bastimeyer
Copy link
Member

Resolves #5770

$ ./script/test-plugin-urls.py bilibili -l debug -r CHANNEL 519
:: Finding streams for URL: https://live.bilibili.com/519
:: Found streams: live_alt, live, worst, best

$ ./script/test-plugin-urls.py bilibili -l debug -r CHANNEL 27482546
:: Finding streams for URL: https://live.bilibili.com/27482546
:: Found streams: live_alt, live, worst, best

$ ./script/test-plugin-urls.py bilibili -l debug -r CHANNEL 27888667
:: Finding streams for URL: https://live.bilibili.com/27888667
:::: Falling back to _get_api_playinfo()
:: Found streams: live_alt, live, worst, best

@TwoQuantumBits please give this a try and see if some channels are still not working
https://github.com/streamlink/streamlink/blob/master/CONTRIBUTING.md#pull-request-feedback

@bastimeyer bastimeyer added the plugin issue A Plugin does not work correctly label Jan 13, 2024
@TwoQuantumBits
Copy link

Should be working now. The streams are low-quality, but it is expected considering the current circumstances.

Debug log, if applicable:

[session][debug] Plugin bilibili is being overridden by C:\Users\Admin\AppData\Roaming\streamlink\plugins\bilibili.py
[cli][debug] OS:         Windows 10
[cli][debug] Python:     3.11.7
[cli][debug] OpenSSL:    OpenSSL 3.0.11 19 Sep 2023
[cli][debug] Streamlink: 6.5.0
[cli][debug] Dependencies:
[cli][debug]  certifi: 2023.11.17
[cli][debug]  isodate: 0.6.1
[cli][debug]  lxml: 4.9.3
[cli][debug]  pycountry: 23.12.11
[cli][debug]  pycryptodome: 3.19.0
[cli][debug]  PySocks: 1.7.1
[cli][debug]  requests: 2.31.0
[cli][debug]  trio: 0.23.2
[cli][debug]  trio-websocket: 0.11.1
[cli][debug]  typing-extensions: 4.9.0
[cli][debug]  urllib3: 2.1.0
[cli][debug]  websocket-client: 1.7.0
[cli][debug] Arguments:
[cli][debug]  url=https://live.bilibili.com/27888667
[cli][debug]  stream=['live']
[cli][debug]  --loglevel=debug
[cli][debug]  --ffmpeg-ffmpeg=C:\Program Files\Streamlink\ffmpeg\ffmpeg.exe
[cli][info] Found matching plugin bilibili for URL https://live.bilibili.com/27888667
[plugins.bilibili][debug] Falling back to _get_api_playinfo()
[cli][info] Available streams: live_alt, live (worst, best)
[cli][info] Opening stream: live (hls)
[cli][info] Starting player: C:\Program Files\VideoLAN\VLC\vlc.exe
[stream.hls][debug] Reloading playlist
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] First Sequence: 64188394; Last Sequence: 64188400
[stream.hls][debug] Start offset: 0; Duration: None; Start Sequence: 64188398; End Sequence: None
[stream.hls][debug] Adding segment 64188398 to queue
[stream.hls][debug] Adding segment 64188399 to queue
[stream.hls][debug] Adding segment 64188400 to queue
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Writing segment 64188398 to output
[stream.hls][debug] Segment initialization 64188398 complete
[cli.output][debug] Opening subprocess: ['C:\\Program Files\\VideoLAN\\VLC\\vlc.exe', '--input-title-format', 'https://live.bilibili.com/27888667', '-']
[stream.hls][debug] Writing segment 64188398 to output
[stream.hls][debug] Segment 64188398 complete
[stream.hls][debug] Writing segment 64188399 to output
[stream.hls][debug] Segment 64188399 complete
[stream.hls][debug] Writing segment 64188400 to output
[stream.hls][debug] Segment 64188400 complete
[cli][debug] Writing stream to output
[stream.hls][debug] Adding segment 64188401 to queue
[stream.hls][debug] Adding segment 64188402 to queue
[stream.hls][debug] Adding segment 64188403 to queue
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Writing segment 64188401 to output
[stream.hls][debug] Segment 64188401 complete
[stream.hls][debug] Writing segment 64188402 to output
[stream.hls][debug] Segment 64188402 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Writing segment 64188403 to output
[stream.hls][debug] Segment 64188403 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188404 to queue
[stream.hls][debug] Adding segment 64188405 to queue
[stream.hls][debug] Writing segment 64188404 to output
[stream.hls][debug] Segment 64188404 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Writing segment 64188405 to output
[stream.hls][debug] Segment 64188405 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188406 to queue
[stream.hls][debug] Adding segment 64188407 to queue
[stream.hls][debug] Writing segment 64188406 to output
[stream.hls][debug] Segment 64188406 complete
[stream.hls][debug] Writing segment 64188407 to output
[stream.hls][debug] Segment 64188407 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188408 to queue
[stream.hls][debug] Adding segment 64188409 to queue
[stream.hls][debug] Writing segment 64188408 to output
[stream.hls][debug] Segment 64188408 complete
[stream.hls][debug] Writing segment 64188409 to output
[stream.hls][debug] Segment 64188409 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188410 to queue
[stream.hls][debug] Adding segment 64188411 to queue
[stream.hls][debug] Writing segment 64188410 to output
[stream.hls][debug] Segment 64188410 complete
[stream.hls][debug] Writing segment 64188411 to output
[stream.hls][debug] Segment 64188411 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188412 to queue
[stream.hls][debug] Adding segment 64188413 to queue
[stream.hls][debug] Writing segment 64188412 to output
[stream.hls][debug] Segment 64188412 complete
[stream.hls][debug] Writing segment 64188413 to output
[stream.hls][debug] Segment 64188413 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188414 to queue
[stream.hls][debug] Adding segment 64188415 to queue
[stream.hls][debug] Writing segment 64188414 to output
[stream.hls][debug] Segment 64188414 complete
[stream.hls][debug] Writing segment 64188415 to output
[stream.hls][debug] Segment 64188415 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188416 to queue
[stream.hls][debug] Adding segment 64188417 to queue
[stream.hls][debug] Writing segment 64188416 to output
[stream.hls][debug] Segment 64188416 complete
[stream.hls][debug] Writing segment 64188417 to output
[stream.hls][debug] Segment 64188417 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188418 to queue
[stream.hls][debug] Adding segment 64188419 to queue
[stream.hls][debug] Writing segment 64188418 to output
[stream.hls][debug] Segment 64188418 complete
[stream.hls][debug] Writing segment 64188419 to output
[stream.hls][debug] Segment 64188419 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188420 to queue
[stream.hls][debug] Writing segment 64188420 to output
[stream.hls][debug] Segment 64188420 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188421 to queue
[stream.hls][debug] Adding segment 64188422 to queue
[stream.hls][debug] Writing segment 64188421 to output
[stream.hls][debug] Segment 64188421 complete
[stream.hls][debug] Writing segment 64188422 to output
[stream.hls][debug] Segment 64188422 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188423 to queue
[stream.hls][debug] Adding segment 64188424 to queue
[stream.hls][debug] Adding segment 64188425 to queue
[stream.hls][debug] Writing segment 64188423 to output
[stream.hls][debug] Segment 64188423 complete
[stream.hls][debug] Writing segment 64188424 to output
[stream.hls][debug] Segment 64188424 complete
[stream.hls][debug] Writing segment 64188425 to output
[stream.hls][debug] Segment 64188425 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188426 to queue
[stream.hls][debug] Adding segment 64188427 to queue
[stream.hls][debug] Writing segment 64188426 to output
[stream.hls][debug] Segment 64188426 complete
[stream.hls][debug] Writing segment 64188427 to output
[stream.hls][debug] Segment 64188427 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188428 to queue
[stream.hls][debug] Adding segment 64188429 to queue
[stream.hls][debug] Writing segment 64188428 to output
[stream.hls][debug] Segment 64188428 complete
[stream.hls][debug] Writing segment 64188429 to output
[stream.hls][debug] Segment 64188429 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188430 to queue
[stream.hls][debug] Adding segment 64188431 to queue
[stream.hls][debug] Writing segment 64188430 to output
[stream.hls][debug] Segment 64188430 complete
[stream.hls][debug] Writing segment 64188431 to output
[stream.hls][debug] Segment 64188431 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188432 to queue
[stream.hls][debug] Adding segment 64188433 to queue
[stream.hls][debug] Writing segment 64188432 to output
[stream.hls][debug] Segment 64188432 complete
[stream.hls][debug] Writing segment 64188433 to output
[stream.hls][debug] Segment 64188433 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188434 to queue
[stream.hls][debug] Adding segment 64188435 to queue
[stream.hls][debug] Writing segment 64188434 to output
[stream.hls][debug] Segment 64188434 complete
[stream.hls][debug] Writing segment 64188435 to output
[stream.hls][debug] Segment 64188435 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188436 to queue
[stream.hls][debug] Adding segment 64188437 to queue
[stream.hls][debug] Writing segment 64188436 to output
[stream.hls][debug] Segment 64188436 complete
[stream.hls][debug] Writing segment 64188437 to output
[stream.hls][debug] Segment 64188437 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188438 to queue
[stream.hls][debug] Adding segment 64188439 to queue
[stream.hls][debug] Writing segment 64188438 to output
[stream.hls][debug] Segment 64188438 complete
[stream.hls][debug] Writing segment 64188439 to output
[stream.hls][debug] Segment 64188439 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188440 to queue
[stream.hls][debug] Adding segment 64188441 to queue
[stream.hls][debug] Writing segment 64188440 to output
[stream.hls][debug] Segment 64188440 complete
[stream.hls][debug] Writing segment 64188441 to output
[stream.hls][debug] Segment 64188441 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 64188442 to queue
[stream.hls][debug] Adding segment 64188443 to queue
[stream.hls][debug] Writing segment 64188442 to output
[stream.hls][debug] Segment 64188442 complete
[stream.hls][debug] Writing segment 64188443 to output
[stream.hls][debug] Segment 64188443 complete
[stream.hls][debug] Reloading playlist
[cli][info] Player closed
[stream.segmented][debug] Closing worker thread
[stream.segmented][debug] Closing writer thread
[cli][info] Stream ended
[cli][info] Closing currently open stream...

@bastimeyer bastimeyer merged commit 27b0da5 into streamlink:master Jan 13, 2024
@bastimeyer bastimeyer deleted the plugins/bilibili/5770 branch January 13, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plugin issue A Plugin does not work correctly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

plugins.bilibili: Playable streams can't be found on stream pages with custom layout

2 participants