mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2026-03-02 19:17:00 -05:00
[prosiebenmaxx.de] Error 404 and malfunction in drm-protection-check #24971
Open
opened 2026-02-21 13:36:09 -05:00 by deekerman
·
29 comments
No Branch/Tag specified
master
pull/30733/head
gh-pages
df-fmt-ext-patch
dlp-fifa-backport
df-test-cleanup
pull/29816/head
download-server
totalwebcasting
rtmp_test
2024.07.11-nightly
2021.12.17
2021.06.06
2021.05.16
2021.04.26
2021.04.17
2021.04.07
2021.04.01
2021.03.31
2021.03.25
2021.03.14
2021.03.03
2021.03.02
2021.02.22
2021.02.10
2021.02.04.1
2021.02.04
2021.01.24.1
2021.01.24
2021.01.16
2021.01.08
2021.01.03
2020.12.31
2020.12.29
2020.12.26
2020.12.22
2020.12.14
2020.12.12
2020.12.09
2020.12.07
2020.12.05
2020.12.02
2020.11.29
2020.11.26
2020.11.24
2020.11.21.1
2020.11.21
2020.11.19
2020.11.18
2020.11.17
2020.11.12
2020.11.01.1
2020.11.01
2020.09.20
2020.09.14
2020.09.06
2020.07.28
2020.06.16.1
2020.06.16
2020.06.06
2020.05.29
2020.05.08
2020.05.03
2020.03.24
2020.03.08
2020.03.06
2020.03.01
2020.02.16
2020.01.24
2020.01.15
2020.01.01
2019.12.25
2019.11.28
2019.11.22
2019.11.05
2019.10.29
2019.10.22
2019.10.16
2019.09.28
2019.09.12.1
2019.09.12
2019.09.01
2019.08.13
2019.08.02
2019.07.30
2019.07.27
2019.07.16
2019.07.14
2019.07.12
2019.07.02
2019.06.27
2019.06.21
2019.06.08
2019.05.20
2019.05.11
2019.04.30
2019.04.24
2019.04.17
2019.04.07
2019.04.01
2019.03.18
2019.03.09
2019.03.01
2019.02.18
2019.02.08
2019.01.30.1
2019.01.30
2019.01.27
2019.01.24
2019.01.23
2019.01.17
2019.01.16
2019.01.10
2019.01.02
2018.12.31
2018.12.17
2018.12.09
2018.12.03
2018.11.23
2018.11.18
2018.11.07
2018.11.03
2018.10.29
2018.10.05
2018.09.26
2018.09.18
2018.09.10
2018.09.08
2018.09.01
2018.08.28
2018.08.22
2018.08.04
2018.07.29
2018.07.21
2018.07.10
2018.07.04
2018.06.25
2018.06.19
2018.06.18
2018.06.14
2018.06.11
2018.06.04
2018.06.02
2018.05.30
2018.05.26
2018.05.18
2018.05.09
2018.05.01
2018.04.25
2018.04.16
2018.04.09
2018.04.03
2018.03.26.1
2018.03.26
2018.03.20
2018.03.14
2018.03.10
2018.03.03
2018.02.26
2018.02.25
2018.02.22
2018.02.11
2018.02.08
2018.02.04
2018.02.03
2018.01.27
2018.01.21
2018.01.18
2018.01.14
2018.01.07
2017.12.31
2017.12.28
2017.12.23
2017.12.14
2017.12.10
2017.12.02
2017.11.26
2017.11.15
2017.11.06
2017.10.29
2017.10.20
2017.10.15.1
2017.10.15
2017.10.12
2017.10.07
2017.10.01
2017.09.24
2017.09.15
2017.09.11
2017.09.10
2017.09.02
2017.08.27.1
2017.08.27
2017.08.23
2017.08.18
2017.08.13
2017.08.09
2017.08.06
2017.07.30.1
2017.07.23
2017.07.15
2017.07.09
2017.07.02
2017.06.25
2017.06.23
2017.06.18
2017.06.12
2017.06.05
2017.05.29
2017.05.26
2017.05.23
2017.05.18.1
2017.05.18
2017.05.14
2017.05.09
2017.05.07
2017.05.01
2017.04.28
2017.04.26
2017.04.17
2017.04.16
2017.04.15
2017.04.14
2017.04.11
2017.04.09
2017.04.03
2017.04.02
2017.03.26
2017.03.24
2017.03.22
2017.03.20
2017.03.16
2017.03.15
2017.03.10
2017.03.07
2017.03.06
2017.03.05
2017.03.02
2017.02.28
2017.02.27
2017.02.24.1
2017.02.24
2017.02.22
2017.02.21
2017.02.17
2017.02.16
2017.02.14
2017.02.11
2017.02.10
2017.02.07
2017.02.04.1
2017.02.04
2017.02.01
2017.01.31
2017.01.29
2017.01.28
2017.01.25
2017.01.24
2017.01.22
2017.01.18
2017.01.16
2017.01.14
2017.01.10
2017.01.08
2017.01.05
2017.01.02
2016.12.31
2016.12.22
2016.12.20
2016.12.18
2016.12.15
2016.12.12
2016.12.09
2016.12.01
2016.11.27
2016.11.22
2016.11.18
2016.11.14.1
2016.11.14
2016.11.08.1
2016.11.08
2016.11.04
2016.11.02
2016.10.31
2016.10.30
2016.10.26
2016.10.25
2016.10.21.1
2016.10.21
2016.10.19
2016.10.16
2016.10.12
2016.10.07
2016.10.02
2016.09.27
2016.09.24
2016.09.19
2016.09.18
2016.09.15
2016.09.11.1
2016.09.11
2016.09.08
2016.09.04.1
2016.09.04
2016.09.03
2016.08.31
2016.08.28
2016.08.24.1
2016.08.24
2016.08.22
2016.08.19
2016.08.17
2016.08.13
2016.08.12
2016.08.10
2016.08.07
2016.08.06
2016.08.01
2016.07.30
2016.07.28
2016.07.26.2
2016.07.26.1
2016.07.26
2016.07.24
2016.07.22
2016.07.17
2016.07.16
2016.07.13
2016.07.11
2016.07.09.2
2016.07.09.1
2016.07.09
2016.07.07
2016.07.06
2016.07.05
2016.07.03.1
2016.07.03
2016.07.02
2016.07.01
2016.06.30
2016.06.27
2016.06.26
2016.06.25
2016.06.23.1
2016.06.23
2016.06.22
2016.06.20
2016.06.19.1
2016.06.19
2016.06.18.1
2016.06.18
2016.06.16
2016.06.14
2016.06.12
2016.06.11.3
2016.06.11.2
2016.06.11.1
2016.06.11
2016.06.05
2016.06.04
2016.06.03_tmp
2016.06.03
2016.06.02
2016.05.30.2
2016.05.30.1
2016.05.30
2016.05.21.2
2016.05.21.1
2016.05.21
2016.05.16
2016.05.10
2016.05.01
2016.04.24
2016.04.19
2016.04.13
2016.04.06
2016.04.05
2016.04.01
2016.03.27
2016.03.26
2016.03.25
2016.03.18
2016.03.14
2016.03.06
2016.03.01
2016.02.27
2016.02.22
2016.02.13
2016.02.10
2016.02.09.1
2016.02.09
2016.02.05.1
2016.02.05
2016.02.04
2016.02.01
2016.01.31
2016.01.29
2016.01.27
2016.01.23
2016.01.15
2016.01.14
2016.01.09
2016.01.01
2015.12.31
2015.12.29
2015.12.23
2015.12.21
2015.12.18
2015.12.13
2015.12.10
2015.12.09
2015.12.06
2015.12.05
2015.11.27.1
2015.11.27
2015.11.24
2015.11.23
2015.11.21
2015.11.19
2015.11.18
2015.11.15
2015.11.13
2015.11.10
2015.11.02
2015.11.01
2015.10.24
2015.10.23
2015.10.18
2015.10.16
2015.10.13
2015.10.12
2015.10.09
2015.10.06.2
2015.10.06.1
2015.10.06
2015.09.28
2015.09.22
2015.09.09
2015.09.03
2015.08.28
2015.08.23
2015.08.16.1
2015.08.16
2015.08.09
2015.08.06.1
2015.08.06
2015.07.28
2015.07.21
2015.07.18
2015.07.07
2015.07.04
2015.06.25
2015.06.15
2015.06.04.1
2015.06.04
2015.05.29
2015.05.20
2015.05.15
2015.05.10
2015.05.04
2015.05.03
2015.04.28
2015.04.26
2015.04.17
2015.04.09
2015.04.03
2015.03.28
2015.03.24
2015.03.18
2015.03.15
2015.03.09
2015.03.03.1
2015.03.03
2015.02.28
2015.02.26.2
2015.02.26.1
2015.02.26
2015.02.24.2
2015.02.24.1
2015.02.24
2015.02.23.1
2015.02.23
2015.02.21
2015.02.20
2015.02.19.3
2015.02.19.2
2015.02.19.1
2015.02.19
2015.02.18.1
2015.02.18
2015.02.17.2
2015.02.17.1
2015.02.17
2015.02.16.1
2015.02.16
2015.02.11
2015.02.10.5
2015.02.10.4
2015.02.10.3
2015.02.10.2
2015.02.10.1
2015.02.10
2015.02.09.3
2015.02.09.2
2015.02.09.1
2015.02.09
2015.02.08
2015.02.06
2015.02.04
2015.02.03.1
2015.02.03
2015.02.02.5
2015.02.02.4
2015.02.02.3
2015.02.02.2
2015.02.02.1
2015.02.02
2015.02.01
2015.01.30.2
2015.01.30.1
2015.01.30
2015.01.25
2015.01.23.4
2015.01.23.3
2015.01.23.2
2015.01.23.1
2015.01.23
2015.01.22
2015.01.16
2015.01.15.1
2015.01.15
2015.01.11
2015.01.10.2
2015.01.10.1
2015.01.10
2015.01.09.2
2015.01.09.1
2015.01.09
2015.01.08
2015.01.07.2
2015.01.07.1
2015.01.07
2015.01.05.1
2015.01.05
2015.01.04
2015.01.03
2015.01.02
2015.01.01
2014.12.17.2
2014.12.17.1
2014.12.17
2014.12.16.2
2014.12.16.1
2014.12.16
2014.12.15
2014.12.14
2014.12.13.1
2014.12.13
2014.12.12.7
2014.12.12.6
2014.12.12.5
2014.12.12.4
2014.12.12.3
2014.12.12.2
2014.12.12.1
2014.12.12
2014.12.11
2014.12.10.3
2014.12.10.2
2014.12.10.1
2014.12.10
2014.12.06.1
2014.12.06
2014.12.04.2
2014.12.04.1
2014.12.04
2014.12.03
2014.12.01
2014.11.27
2014.11.26.4
2014.11.26.3
2014.11.26.2
2014.11.26.1
2014.11.26
2014.11.25.1
2014.11.25
2014.11.24
2014.11.23.1
2014.11.23
2014.11.21.1
2014.11.21
2014.11.20.1
2014.11.20
2014.11.16
2014.11.15.1
2014.11.15
2014.11.14
2014.11.13.3
2014.11.13.2
2014.11.13.1
2014.11.13
2014.11.12.1
2014.11.12
2014.11.09
2014.11.04
2014.11.02.1
2014.11.02
2014.10.30
2014.10.29
2014.10.27
2014.10.26.2
2014.10.26.1
2014.10.26
2014.10.25
2014.10.24
2014.10.23
2014.10.18
2014.10.15
2014.10.13
2014.10.12
2014.10.05.2
2014.10.05.1
2014.10.05
2014.10.02
2014.09.29.2
2014.09.29.1
2014.09.29
2014.09.28.1
2014.09.28
2014.09.25
2014.09.24.1
2014.09.24
2014.09.22.1
2014.09.22
2014.09.19
2014.09.18
2014.09.16.1
2014.09.16
2014.09.15.1
2014.09.15
2014.09.14.3
2014.09.14.2
2014.09.14.1
2014.09.14
2014.09.12
2014.09.10.1
2014.09.10
2014.09.06
2014.09.04.3
2014.09.04.2
2014.09.04.1
2014.09.04
2014.09.01.2
2014.09.01.1
2014.09.01
2014.08.29
2014.08.28.2
2014.08.28.1
2014.08.28
2014.08.27.1
2014.08.27
2014.08.26
2014.08.25.3
2014.08.25.2
2014.08.25.1
2014.08.25
2014.08.24.6
2014.08.24.5
2014.08.24.4
2014.08.24.3
2014.08.24.2
2014.08.24.1
2014.08.24
2014.08.23
2014.08.22.3
2014.08.22.2
2014.08.22.1
2014.08.22
2014.08.21.3
2014.08.21.2
2014.08.21.1
2014.08.21
2014.08.10
2014.08.05
2014.08.02.1
2014.08.02
2014.07.30
2014.07.25.1
2014.07.25
2014.07.24
2014.07.23.2
2014.07.23.1
2014.07.23
2014.07.22
2014.07.21
2014.07.20.2
2014.07.20.1
2014.07.20
2014.07.15
2014.07.11.3
2014.07.11.2
2014.07.11.1
2014.07.11
2014.07.10
2014.06.26
2014.06.25
2014.06.24.1
2014.06.24
2014.06.19
2014.06.16
2014.06.09
2014.06.07
2014.06.04
2014.06.02
2014.05.31.4
2014.05.31.3
2014.05.31.2
2014.05.31.1
2014.05.31
2014.05.30.1
2014.05.30
2014.05.19
2014.05.17
2014.05.16.1
2014.05.16
2014.05.13
2014.05.12
2014.05.05
2014.04.30.1
2014.04.30
2014.04.21.6
2014.04.21.5
2014.04.21.4
2014.04.21.3
2014.04.21.2
2014.04.21.1
2014.04.21
2014.04.19
2014.04.13
2014.04.11.2
2014.04.11.1
2014.04.11
2014.04.07.4
2014.04.07.3
2014.04.07.2
2014.04.07.1
2014.04.07
2014.04.04.7
2014.04.04.6
2014.04.04.5
2014.04.04.4
2014.04.04.2
2014.04.04.3
2014.04.04.1
2014.04.04
2014.04.03.3
2014.04.03.2
2014.04.03.1
2014.04.03
2014.04.02
2014.04.01.3
2014.04.01.2
2014.04.01.1
2014.04.01
2014.03.30.1
2014.03.30
2014.03.29
2014.03.28
2014.03.27.1
2014.03.27
2014.03.25.1
2014.03.25
2014.03.24.5
2014.03.24.4
2014.03.24.3
2014.03.24.2
2014.03.24.1
2014.03.24
2013.03.24.2
2013.03.24.1
2013.03.24
2014.03.23
2014.03.21.5
2014.03.21.4
2014.03.21.3
2014.03.21.2
2014.03.21.1
2014.03.21
2014.03.20
2014.03.18.1
2014.03.18
2014.03.17
2014.03.12
2014.03.11
2014.03.10
2014.03.07.1
2014.03.07
2014.03.06
2014.03.04.2
2014.03.04.1
2014.03.04
2014.03.03
2014.02.28
2014.02.27.1
2014.02.27
2014.02.26
2014.02.25.1
2014.02.25
2014.02.24
2014.02.22.1
2014.02.22
2014.02.21.1
2014.02.21
2014.02.20
2014.02.19.1
2014.02.19
2014.02.17
2014.02.13
2014.02.10
2014.02.08.2
2014.02.08.1
2014.02.08
2014.02.06.3
2014.02.06.2
2014.02.06.1
2014.02.06
2014.02.05
2014.02.04.1
2014.02.04
2014.02.03.1
2014.02.03
2014.01.30.2
2014.01.30.1
2014.01.30
2014.01.29
2014.01.28.1
2014.01.28
2014.01.27.2
2014.01.27.1
2014.01.27
2014.01.23.4
2014.01.23.3
2014.01.23.2
2014.01.23.1
2014.01.23
2014.01.22.5
2014.01.22.4
2014.01.22.3
2014.01.22.2
2014.01.22.1
2014.01.22
2014.01.21.1
2014.01.21
2014.01.20
2014.01.17.2
2013.01.17.1
2013.01.17
2014.01.08
2014.01.07.5
2014.01.07.4
2014.01.07.3
2014.01.07.2
2014.01.07.1
2014.01.07
2014.01.06.1
2014.01.06
2014.01.05.6
2014.01.05.5
2014.01.05.4
2014.01.05.3
2014.01.05.1
2014.01.05
2014.01.03
2013.12.26
2013.12.23.4
2013.12.23.3
2013.12.23.2
2013.12.23.1
2013.12.23
2013.12.20
2013.12.17.2
2013.12.17.1
2013.12.17
2013.12.16.7
2013.12.16.6
2013.12.16.5
2013.12.16.4
2013.12.16.3
2013.12.16.2
2013.12.16.1
2013.12.16
2013.12.11.2
2013.12.11.1
2013.12.11
2013.12.10
2013.12.09.4
2013.12.09.3
2013.12.09.2
2013.12.09.1
2013.12.09
2013.12.08.1
2013.12.08
2013.12.04
2013.12.03
2013.12.02
2013.11.29
2013.11.28.1
2013.11.28
2013.11.26
2013.11.25.3
2013.11.25.2
2013.11.25.1
2013.11.25
2013.11.24.1
2013.11.24
2013.11.22.2
2013.11.22.1
2013.11.22
2013.11.21
2013.11.20
2013.11.19
2013.11.18.1
2013.11.18
2013.11.17
2013.11.15.1
2013.11.15
2013.11.13
2013.11.11
2013.11.07
2013.11.06.1
2013.11.06
2013.11.03
2013.11.02
2013.10.30
2013.10.29
2013.10.28
2013.10.23.2
2013.10.23.1
2013.10.23
2013.10.22
2013.10.18.2
2013.10.18.1
2013.10.18
2013.10.17
2013.10.15
2013.10.09
2013.10.07
2013.10.06
2013.10.04
2013.10.01.1
2013.10.01
2013.09.29
2013.09.24.2
2013.09.24.1
2013.09.24
2013.09.20.1
2013.09.20
2013.09.17
2013.09.16
2013.09.12
2013.11.09
2013.09.10
2013.09.07
2013.09.06.1
2013.09.06
2013.09.05
2013.09.04
2013.08.30
2013.08.29
2013.08.28.1
2013.08.28
2013.08.27
2013.08.23
2013.08.22
2013.08.21
2013.08.17
2013.08.15
2013.08.14
2013.08.09
2013.08.08.1
2013.08.08
2013.08.02
2013.07.31
2013.07.25.2
2013.07.25.1
2013.07.25
2013.07.24.2
2013.07.24.1
2013.07.24
2013.07.23.1
2013.07.23
2013.07.19
2013.07.18
2013.07.17.1
2013.07.17
2013.07.12
2013.07.11
2013.07.10
2013.07.08.1
2013.07.08
2013.07.07.01
2013.07.07
2013.07.05
2013.07.04
2013.07.02
2013.06.34.4
2013.06.34.3
2013.06.34.2
2013.06.34.1
2013.06.34
2013.06.33
2013.06.32
2013.06.31
2013.06.30
2013.06.29
2013.06.28
2013.06.27
2013.06.26
2013.06.25
2013.06.23
2013.06.21
2013.05.23
2013.05.14
2013.05.13
2013.05.10
2013.05.07
2013.05.06
2013.05.05
2013.05.04
2013.05.01
2013.04.31
2013.04.30
2013.04.28
2013.04.27
2013.04.22
2013.04.21
2013.04.18
2013.04.11
2013.04.03
2013.03.29
2013.02.25
2013.02.22
2012.02.22
2013.02.19
2013.02.18
2013.02.02
2013.02.01
2013.01.28
2013.01.27
2013.01.13
2013.01.12
2012.12.99
2013.01.11
2013.01.08
2013.01.06
2013.01.02
2012.12.11
2012.11.29
2012.11.28
2012.11.27
2012.11.17
2012.10.09
2012.09.27
2012.02.27
2012.02.26
2012.01.08b
2012.01.08
2012.01.05
2011.12.18
2011.12.15
2011.12.08
2011.11.23
2011.11.22
2011.11.21
2011.10.19
2011.09.30
2011.09.27
2011.09.18c
2011.09.18b
2011.09.18
2011.09.17
2011.09.16
2011.09.15
2011.09.14
2011.09.13
2011.08.04
2011.03.29
2011.02.25c
2011.02.25b
2011.02.25
2011.01.30
2010.12.09
2010.11.19
2010.10.24
2010.10.03
2010.08.04
2010.07.24
2010.07.22
2010.07.14
2010.06.06
2010.04.04
2010.04.03
2010.04.02
2010.03.13
2010.03.07
2010.02.13
2010.01.19
2010.01.06
2010.01.05
2009.12.26
2009.09.13
2009.09.08
2009.08.08
2009.06.29
2009.05.30
2009.05.25
2009.05.23
2009.05.13
2009.05.11
2009.04.25
2009.04.06
2009.03.28
2009.03.03
2009.02.07
2009.01.31
2008.11.01
2008.10.16
2008.09.20
2008.08.09
2008.07.22
Labels
Clear labels
DRM
Good first issue
account-needed
broken-IE
bug
build/update
cant-reproduce
clarification-needed
documentation
duplicate
external-bugs
fixed
geo-restricted
gh-pages
help-wanted
hls
incomplete
invalid
linux
mpd
not-a-bug
nsfw
offtopic
out-of-scope
outdated-version
patch-available
pending-fixes
php
postprocessors
question
regression
request
request
site-support-request
site-update-request
spam
subtitles
test-needed
tv-provider-account-needed
windows
won't fix
yt-dlp
No labels
DRM
Good first issue
account-needed
broken-IE
bug
build/update
cant-reproduce
clarification-needed
documentation
duplicate
external-bugs
fixed
geo-restricted
gh-pages
help-wanted
hls
incomplete
invalid
linux
mpd
not-a-bug
nsfw
offtopic
out-of-scope
outdated-version
patch-available
pending-fixes
php
postprocessors
question
regression
request
request
site-support-request
site-update-request
spam
subtitles
test-needed
tv-provider-account-needed
windows
won't fix
yt-dlp
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
starred/youtube-dl-ytdl-org#24971
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Shithappenz on GitHub (Feb 4, 2022).
Checklist
Verbose log
Description
I founded two bugs / errors on prosiebenmaxx.de: There is a Error 404 and a mafunction in the drm-protection-check. I posted both logs above.
There are some clips, where I get the 404 Error (e.g. the link above). I tryed to download it serveral times, but youtube-dl answered the same 404 Error. Maybe in the extractor there are some lines, that are not working anymore?
Futhermore the drm-protection check is not working. For example youtube-dl answered, that the clip is drm protected. In the header of the side, one can read, that there is no drm protection:
meta data-react-helmet="true" property="video:drm" content="0"
I downloded the clip manually and vlc can play that clip.
I am sorry for my english. I know it is not quiet good, but I hope, I posted a helpful log.
@dirkf commented on GitHub (Feb 4, 2022):
I can see the same issues.
In the first case, from the UK I get "video unavailable" but using
--geo-bypass-country DEgives a log similar to yours. I can't see what's happening, except that the API request to'http://vas.sim-technik.de/vas/live/v2/videos/%s/sources/url' % clip_idisn't working. Since no data is retrieved for any of the three failing sources, there are no formats. Why that might be is unclear: no such API calls occur when I fail to be able to play the show in the browser (presumably, proxy needed).In the second case, which doesn't need
--geo-bypass-country DE, it's initially straightforward. Here is the data returned from the "videos JSON":Because
video['is_protected']isTrue, the DRM error is raised. But if it hadn't been, there are no sources (video['sources']) and so, as before, there would have been no formats, without the trouble of even asking for non-existent sources.The extractor isn't completely broken as its tests 0, 7, 8, which are the only ones expected to pass, do succeed.
The errors you've reported also occur with yt-dlp, which is expected because the extractors are almost identical. Maybe the issue should be raised in that tracker as I see there are contributors there who have worked on related extractors.
@Shithappenz commented on GitHub (Feb 5, 2022):
Hi @dirkf !
Thank you for your fast response!
I forgot to say, that I am from germany and therefore I don't use the geo-bypass-function.
I hope there are some contributors, that can fix the broken extractor.
I am sorry, that I can't do more than to report the bug.
@Yavos commented on GitHub (Apr 24, 2022):
The issue (at least the 404 one) still exists with other URLs.
One example would be the currently running My Hero Academia Series (https://www.prosiebenmaxx.de/anime/my-hero-academia)
Here's an example.
I'll give more insight once I figure out what and where my browser does to get the video.
@Yavos commented on GitHub (Apr 24, 2022):
Apparently something changed in the underlying system.
In my test I used
https://www.prosiebenmaxx.de/anime/my-hero-academia/video/414-eine-strahlende-zukunft-ganze-folgeMy browser currently calls
https://vas-v4.p7s1video.net/4.0/getsources?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InhfcHJvc2llYmVubWF4eC1kZSJ9.eyJjb250ZW50X2lkcyI6eyJ2X2toZml5YzlqYmFmZyI6eyJzdWJjbGlwX3N0YXJ0IjowLCJzdWJjbGlwX2VuZCI6MTM3MX19LCJzZWN1cmVfZGVsaXZlcnkiOnRydWUsImlhdCI6MTY1MDgyNjExMSwibmJmIjoxNjUwODI1ODExLCJleHAiOjE2NTA4MjY0MTF9.Zj817nYUWonbYcmQS0BoYErkHYWzdmf-qbm9SvekFAAto get all necessary data. (I don't see any interesting headers there.) Then it calls the linked dash URL while hls and progressive are available as well.
The plugin completely ignores that URL and first tries to get
self._V4_BASE_URL + 'protocols'resulting in a 404 and as fallback tries'http://vas.sim-technik.de/vas/live/v2/videos/%s/sources/url' % clip_idinstead which now also results in the 404 for urls JSON.The correct URL is built with
self._V4_BASE_URL + 'sources?token=' + some_tokenbut I currently have no idea how that token is built. It is probably built somehow in source-fetcher.ts (some webpack code? Don't know where it gets its source from... source URI readswebpack:///source-fetcher/src/source-fetcher.ts)Here's some snippets to get a general grasp about where to search
and lots more code to get the input data
[edit] found a link to that file in a referenced issue: https://gist.github.com/dirkf/35ffc6c1d1f3adf30fabacf11619f8b8
@Shithappenz commented on GitHub (Apr 24, 2022):
I am so sorry. Usually all clips or videos on prosiebenmaxx has a notice, when the clip or video will be deleted (e.g. „noch 3 Tage“ or „only 3 days“ in english). But the videos didn't show a notice, when I posted this issue.
Yes, the problem is similar to the other videos of prosiebenmaxx.
I found a little workaround. The direct url doesn't work:
But if I log in with the browser, take the playlist-url for dash, log out and put the dash-playlist-url in youtube-dl, it's still working. Very important: I didn’t log in via youtube-dl.exe and I didn’t use cookies!
Therefore the problem is to get the playlist-url or getsources-url like you think.
I found an old entry of youtube-dlp, where one user (NeroBurner) tried to implement "getJWT" (JSON Web Token):
https://github.com/yt-dlp/yt-dlp/issues/988
Maybe this could be helpful.
@dirkf commented on GitHub (Apr 25, 2022):
Are those streams downloadable under the same conditions? 403 from UK, even with
--geo-bypass-country DE.@Yavos commented on GitHub (Apr 25, 2022):
The URLs seem to expire pretty fast. Seems like something between 5 and 10 minutes. It worked in my try as well, though.
The payload encrypted in the token looks like this (exp probably meaning expiring)
@Yavos commented on GitHub (Apr 25, 2022):
In multipart files (movies) it looks similar
subclip_startseems to be the last duration -10 seconds andsubclip_endjust adds up the duration found in the page source for each subclip.For reference I used this link and the video id to look for is
v_c5zwq9l5bzui@Yavos commented on GitHub (Apr 25, 2022):
I've looked through the changes to yt-dlp mentioned a few posts earlier. Seems like I got everything necessary figured out. The encryption key is already stored correctly in
_ENCRYPTION_KEY, so only the update to new behavior is missing.I'll try to fix it once I find time again.
@Shithappenz commented on GitHub (Apr 25, 2022):
That sounds great. I am sorry, that I am not a bigger help.
I am from germany. If I should try some new code for prosiebenmaxx, then you can ask me (you just have to explain, how I can run the new code).
@Yavos commented on GitHub (Apr 26, 2022):
I did some testing and copy pasting of what was done in commit https://github.com/yt-dlp/yt-dlp/pull/1012/commits/c008b59df863d0ec50cdd402e39d584254d7352d and downloading anime seems to work again.
Since my code is still full of print() functions for debugging and other untested stuff I won't create a pull request to the official repo
just yet.
I pushed my code to https://github.com/Yavos/youtube-dl-1/tree/prosiebensat1-dev which currently completely circumvents the old code for downloading clips. (Bonus: season_number and episode_number now work.) No idea if this breaks anything (e.g. with prosieben or sat1) or if playlists work or not. I didn't test it yet.
@Shithappenz If you want to use that code you need: python3 installed and a local copy of that branch I linked above. In my tests I start the plugin with
path_to_local_copy\youtube-dl\__main__.py <parameters>Here's some example how it looks when I use it
R:\>d:\Portable\youtube-dl\python\youtube_dl\__main__.py -r 2M -o "%(series)s\S%(season_number)02dE%(episode_number)02d %(title)s-%(id)s.%(ext)s" https://www.prosiebenmaxx.de/anime/date-a-live/video/41-keine-panik-das-ist-nur-die-falle-eines-geistes-ganze-folgeIf you get an error for opening the py file you probably need to add python to your path or add a
pythonorpath_to_python.exein front of the whole other stuff (plus a space).@Yavos commented on GitHub (Apr 27, 2022):
I kind of got playlists working now. But I still run into 2 problems which I could need some help with:
'_type': 'multi_video'entries to the playlist. Trying to do so results in the following error@pannal commented on GitHub (Aug 5, 2022):
Hey, any news on this? I'd love to see your changes merged.
@Shithappenz commented on GitHub (Aug 5, 2022):
@pannal @Yavos
Yavos did an amazing work. I am using his code since two months and it woks great.
@Yavos: Thank you so much for fixxing the download of videos from the platform prosiebenmaxx.
The download of movies or a playlist doesn't work, but I don't know why. I solved it with a little workaround: I downloaded the parts of the movie and concatenate them via FFmpeg. But this workaround is not perfect. In the playlists there are the first ten seconds of a video the last 10 seconds of the video before. E.g. the first 10 seconds of the 2. video are the last 10 seconds of the 1. video in a playlist. Therefore my workaround has repititions.
@Yavos commented on GitHub (Aug 8, 2022):
Weird. I thought I had that movie problem solved if you don't download from playlists. But apparently the
'_type': 'multi_video'doesn't work at all. I'll look into this.Maybe I need to switch to yt-dlp or some other variant that's more maintained to find a suitable workaround...
[edit] as a reminder for myself, the times for concatenation (they usually overlap by 10 seconds - see https://github.com/ytdl-org/youtube-dl/issues/30598#issuecomment-1108865434) are already present in
_extract_clip. Just need to somehow use this info for later processing:@Shithappenz commented on GitHub (Aug 8, 2022):
@Yavos
Sorry, I forgot to mention, that all big movies (length around 1 hour or more) on prosiebenmaxx are saved as playlists. The video of a series (lenght around 20 minutes) is not saved as a playlist. The download of videos works perfect!
@Yavos commented on GitHub (Aug 8, 2022):
Yeah, I know that movies are saved as playlists. But that's exactly what the multi_video type is supposed to be for. It should automatically concatenate them into a single file ignoring that it's actually a playlist.
Don't know why it won't work.
@Shithappenz commented on GitHub (Aug 8, 2022):
@Yavos
I tried it (https://www.prosiebenmaxx.de/anime/anime-filme/videos/i-want-to-eat-your-pancreas-ganze-folge2) and I got the following error. Maybe there is a problem in naming the parts of the playlist?
@dirkf commented on GitHub (Aug 8, 2022):
Simply that the actual concatenation isn't implemented in yt-dl: it is in yt-dlp. I would expect a
multi_videoplaylist to be treated just like an ordinary playlist in yt-dl at present.Is any metadata offered by the site to specify the mapping between programme timecode and video-part timecode?
Please feel free to make a PR when you're ready.
@Yavos commented on GitHub (Aug 8, 2022):
I just looked into the code for downloading
multi_videoentries. It's exactly the same as for playlists so the supposed automated concatenation won't happen.Now I'll take a look into post processing options.
If somebody's got some idea how to get rid of the time overlap, please tell me. ;)
@Shithappenz add
%(playlist_index)dsomewhere in your output template to download all parts at once. (I just tested it for myself.) There's still time overlap in the videos, though.@Yavos commented on GitHub (Aug 8, 2022):
We get the
"subclip_start"and"subclip_end"tags for each clip/part of the video as seen in https://github.com/ytdl-org/youtube-dl/issues/30598#issuecomment-1108865434@Shithappenz commented on GitHub (Aug 8, 2022):
Thank you for your input! Sorry! I don't have so much programming experience. I can only help to find errors and test the code...
@dirkf commented on GitHub (Aug 8, 2022):
Ah. Well, we ought to implement the concatenation function and then the clip timing data can be passed to ffmpeg. In due course.
If the parts are just clipped, at an I-frame boundary, out of an original single encode, just trimming the last part of part n-1 and concatenating part n to it should be fine. If the I-frame timing is different in each part, one I-frame group at each boundary might have to be re-encoded, so that would be a problem: currently we generally do no video re-encoding, despite the name of the
--recode-video(should be--remux-video).@Yavos commented on GitHub (Aug 10, 2022):
I did a few experiments with ffmpeg and apparently movies aren't cut at keyframes (which according to LosslessCut are every 2 seconds). So there's no easy way without reencoding.
I'll look into adding the playlist-index to the video-id for movies so we don't need that workaround with the output filename anymore anymore since single parts all have the exact same id.
The concatenating won't be part of youtube-dl since it's not as easy and needs a solution with other tools anyway.
@Yavos commented on GitHub (Aug 13, 2022):
Scrap that. Using some better tool (avidemux) I figured out the movies are properly cut at keyframes (with 10 second overlap - but I wouldn't count on that to be always like that).
The times might differ a bit from what we get, though. I'm still trying to figure that out properly, since there seem to be differences between different information sources, although I can definitely say it always cuts at 2 second intervals and values like 1542.5 appear to be always rounded up to the next 2-second-interval (1544 in this case).
Theoretically it should be possible to automatically merge the downloaded files including proper cutting of the video files.
@pannal commented on GitHub (Sep 12, 2022):
Hey @Yavos, with your current dev branch I get the following error:
@pannal commented on GitHub (Feb 20, 2023):
@Yavos any news on your work on this issue? Thanks!
@Yavos commented on GitHub (Feb 20, 2023):
I didn't really have motivation to look into it since the relevant part for me (downloading anime) works. A quick check back then with the unmodified plugin gave me a drm error.
In all current versions I get either a json_data error or a extract clip_id error. I'll look into it if I find time. But it seems something changed at prosieben. The urls don't match current videos anymore either.
@Yavos commented on GitHub (Mar 12, 2023):
@pannal I tried looking into it but didn't succeed.
"Joko gegen Klaas" seems to be drm protected anyway. So even if I got it to work, you apparently can't use it.
In general my request (tried with S5E1) fails with the following response:
The last part should not contain an error. I tried tinkering with the payload but couldn't figure it out. Maybe it's a different key used here. Maybe it's something about login/cookies. Don't get your hopes up to get a solution.