mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2026-03-02 19:17:00 -05:00
[YouTube] Unable to extract uploader id #25717
Open
opened 2026-02-21 13:55:51 -05:00 by deekerman
·
634 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#25717
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 @Shituation on GitHub (Feb 16, 2023).
This issue is solved: read the Description below
If you still want to comment after reading that, think again: first read this post below to avoid your comment being deleted or marked as spam.
Checklist
Verbose log
[YouTube] Unable to extract uploader id
Description
[Revised by @dirkf]
OP actually reported the bug for yt-dlp.
The problem, which was revealed by a change in the metadata served by YouTube, applied to both youtube-dl and yt-dlp and has been fixed in both programs.
There is a release of yt-dlp that includes the fix. See #31535 for discussion of whether this would be a good choice for you.
See below for ways to update to a fixed version of youtube-dl. Using
-Udoesn't (yet) work. A new release may be created, including the final fix, some time later than now. There is now a nightly build from the latest code here: this is the recommended solution.There's no point posting your log that shows the error now: feel free to thumb-up this post. Also, be aware that the initial patch still flagged the original issue as a WARNING; the fully fixed yt-dl doesn't. Consider raising a separate issue if your fixed yt-dl shows a different error.
@christianKuntz commented on GitHub (Feb 16, 2023):
Same here; a more simplified sample command line and result to reproduce the issue is as follows:
I have a batch (.cmd in Windows), downloading multiple playlists' updates.
When the issue first occured, I have added .yt-dlp.exe -U as the first command, which did not help.
I just have created a single video command to ease reproduction.
Additional info: youtube-dl shows the same error without -v option; a subsequent attempt with -v added suddenly downloaded the video. So it might be hard to reproduce.
Suggestion: Can that be due to manfest.googlevideos.com temporarily being unreachable?
(I guess that from youtube-dl's verbose output when it worked)
My error sample:
...> .\yt-dlp.exe -v https://youtube.com/watch?v=hrpVKlj2QI0
[debug] Command-line config: ['-v', 'https://youtube.com/watch?v=hrpVKlj2QI0']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.06 [6becd25] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22621-SP0 (OpenSSL 1.1.1k 25 Mar 2021)
[debug] exe versions: ffmpeg N-109820-g2c4dcbd66b-20230210 (setts), ffprobe N-109820-g2c4dcbd66b-20230210, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.16.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1760 extractors
[youtube] Extracting URL: https://youtube.com/watch?v=hrpVKlj2QI0
[youtube] hrpVKlj2QI0: Downloading webpage
[youtube] hrpVKlj2QI0: Downloading android player API JSON
[youtube] hrpVKlj2QI0: Downloading MPD manifest
ERROR: [youtube] hrpVKlj2QI0: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
File "yt_dlp\extractor\common.py", line 680, in extract
File "yt_dlp\extractor\youtube.py", line 4049, in _real_extract
File "yt_dlp\extractor\common.py", line 1228, in _search_regex
@LucasAlmeida0 commented on GitHub (Feb 16, 2023):
Got the same issue here
@dmelladoc commented on GitHub (Feb 16, 2023):
I'm having the same issue here. Using youtube-dl version 2021.12.17
It seems that youtube might have changed something internally.
@Shituation commented on GitHub (Feb 16, 2023):
Its probably a change on youtube's side and the indicated regex in the CLI, is obsolete now.
Not a coder here so I cannot help.
@nicolaasjan commented on GitHub (Feb 16, 2023):
Already fixed in yt-dlp.
https://github.com/yt-dlp/yt-dlp/issues/6247
github.com/yt-dlp/yt-dlp@149eb0bbf3@SoundsBetter commented on GitHub (Feb 16, 2023):
It works for me from time to time
Python version 3.11.1 (CPython) - Windows-10-10.0.19044-SP0
I use one script in PyCharm and it works one time out of five
@nicolaasjan commented on GitHub (Feb 16, 2023):
Line 2125 in youtube.py has to be changed into:
'uploader_id': self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id', default=None),Then no error: 😀️
Note:
OP's verbose log is from yt-dlp, not youtube-dl...
@Shituation commented on GitHub (Feb 16, 2023):
Damn... why didn't those guys change the name to something less confusing.
Sorry.
@dirkf commented on GitHub (Feb 16, 2023):
Working in git master:
@christianKuntz commented on GitHub (Feb 16, 2023):
for yt-dlp a fix is already documented and I could fix it by building the latest version;
the exact fix of the regex, performed by @bashonly is described here
@dirkf commented on GitHub (Feb 16, 2023):
Actually I can't reproduce any error for yt-dl release or yt-dlp 2022.11.22 (regression?), both giving
UCJ6o36XL0CpYb6U5dNBiXHQwith no error fory6_TOFy3k6k. Nor do I get an error with3h5-QPbKoVgin any of the three. If anyone can show a page where the extraction crashes or produces the wronguploader_id, I'll re-open this.Possibly YT ran an A-B test that has now been withdrawn.
@bashonly commented on GitHub (Feb 16, 2023):
@dirkf
It seems to be some sort of regional(?) A/B-testing. I wasn't able to reproduce the issue at first either, but I was able to confirm the change in site behavior through affected users' page dumps. Youtube has begun serving web JSON where the
ownerProfileUrlvalue is the@handleURL format instead of/channel/or/user/, and this breaks the fatal_search_regex()used to extractuploader_id@Delitants commented on GitHub (Feb 16, 2023):
Same problem!!!
@nPHYN1T3 commented on GitHub (Feb 16, 2023):
This just started happening to me. Things have worked all day until a bit ago. Tons of reports on here but no fixes other than some self rolled patches. Given this is closed but still broken...something something dark side. About the regional theory, I've tested raw and with TOR and get the same result.
Python version 3.10.9 (CPython) - Linux-6.1.12-arch1-1-x86_64-with-glibc2.37
``` [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://www.youtube.com/watch?v=HrmcAFaVL6I', '--verbose'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.10.9 (CPython) - Linux-6.1.12-arch1-1-x86_64-with-glibc2.37 [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4 [debug] Proxy map: {} [youtube] HrmcAFaVL6I: Downloading webpage ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex raise RegexNotFoundError('Unable to extract %s' % _name) youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. ```@Vangelis66 commented on GitHub (Feb 16, 2023):
... Some 5-6 hours ago,
git master(snapshotgit-20230214-gdd9aa74) was hit-and-miss, in that one invocation ofyt-dlfor a specific YT video ID would work as expected, whereas next invocation for the same video ID, some seconds later, would produce the ERROR message contained in this issue's title 😠 ; IOW, pretty much what was described by @SoundsBetter 😉 ...However, at this time (ca. 00:25 GMT of 20230217), it's always "miss" 😞 , i.e. the YT changes have fully propagated to the CDNs serving my location (SE Europe):
EDIT:
@dirkf commented on GitHub (Feb 16, 2023):
In any case the extraction of an optional field shouldn't crash the extraction:
[Update] To quote @nicolaasjan:
Exactly. Don't apply this change. Use the suggested methods as linked from the Description, which you should read again if you were thinking of applying this change.
@huzzam commented on GitHub (Feb 16, 2023):
same here. you probably don't need more bug reports but since i came here to report it, here it is:
Python version 3.10.10 (CPython) - macOS-12.6.3-x86_64-i386-64bit
@Vangelis66 commented on GitHub (Feb 16, 2023):
... With the suggested patch applied:
... and
@Vangelis66 commented on GitHub (Feb 16, 2023):
... And with this patch:
@dirkf commented on GitHub (Feb 17, 2023):
This is still not reproducible in the UK. In all cases I get what I would say is a user channel id,
UCJ6o36XL0CpYb6U5dNBiXHQvsShaun_vids.Isn't
Shaun_vidstheuploaderrather than theuploader_id?@bashonly commented on GitHub (Feb 17, 2023):
uploaderis the "display" name, in this case "Shaun".uploader_idwas never consistent to begin with because the regex allowed it to be be extracted from either a/channel/URL format (e.g.UCJ6o36XL0CpYb6U5dNBiXHQ==channel_id) or the old/user/URL format (not thechannel_id). It looks like now youtube is trying to switch all accounts to the@handleURL format, so a likely future scenario is that this will be the only value we are able to extract as theuploader_id. (The yt-dlp regex has been modified to include the@from the handle URL in theuploader_id, in order to be able to differentiate it from the/user/-typeuploader_id)@dirkf commented on GitHub (Feb 17, 2023):
Safety fix in
github.com/ytdl-org/youtube-dl@2dd6c6edd8, pending resolution of https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1434463781.@dirkf commented on GitHub (Feb 17, 2023):
Check #30839 and raise a separate issue if still required.
@dirkf commented on GitHub (Feb 17, 2023):
According to https://github.com/yt-dlp/yt-dlp/issues/6247#issuecomment-1433092700:
Once I can look at a page that has the new format, it should be possible to find where the actual channel ID is. As of
e8198c517b, yt-dl already looks in two places for the URL containing the channel ID: perhaps it should look in reverse order.@bashonly commented on GitHub (Feb 17, 2023):
channel_idis still being extracted just fine. You could easily make theuploader_idvalue a duplicate of thechannel_idif you want. But that is not what the code was doing before, and why ignore the handle?@dirkf commented on GitHub (Feb 17, 2023):
s/channel/owner/ but the problem URLs here have a channel_id. https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1434497578 is useful.
My concern is whether we should return the same value that is in the test cases, or whether some of the test cases are wrong.
The issue is showing in the CI tests but not yet in London.
@gucio321 commented on GitHub (Feb 17, 2023):
strange thing, after building from source, I'm getting the same error, but it starts downloading.
here are logs if someone is interessted
@dirkf commented on GitHub (Feb 17, 2023):
That's a
WARNING, not an error: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1434498460.@Vangelis66 commented on GitHub (Feb 17, 2023):
I used my commercial VPN to switch to a UK IP address and can still (ca. 16:00 GMT, 20230217) confirm:
I wonder, though, why the UK has been treated "differently" so far 😜 ...
If dirkf is able to use a VPN to "travel" overseas, perhaps it should be possible for him to:
Thanks for your efforts, BTW! 👍
@christianKuntz commented on GitHub (Feb 17, 2023):
@bashonly
For me, your explanation of phased rollout/changes on the CDN perfectly explains, why my attempts to reproduce this, using the same video id sometimes succeeded yesterday and sometimes not (I'm from Germany).
Still, being neither a Python nor a regex expert (yet), I can only repeat: cloning yt-dlp master after your commit yesterday and following the create exe instructions for Windows, then exchanging the exe fixed everything for me.
My script scans some 500 channels with some 4000 playlists and did not report a single userid extraction error since your fix. If I understod it right, youtube-dl uses a slightly different regex to tackle that same issue; I cannot judge due to my lack of expertise; I can only confirm that your solution is working just fine.
... which leaves me confused, why this gets re-opened repeatedly, but probably this will only stop, when new precompiled builds are released.
Big Thank you.
@Vangelis66 commented on GitHub (Feb 17, 2023):
... That's the easiest of answers 😜 ...
People from all "affected" areas of the globe jump in, as a knee-jerk reaction, to submit new (duplicate 😠 ) issues about that YT breakage, without:
New issuebutton)Broken site support, in this case)they mechanically tick that, without realising what it speaks of... 😠
masterbranch", how to compile the patched source into a binary, etc.So, in complete desperation, they cram the issue tracker(s) for "guidance"/"spoon-feeding", without the slightest motivation to search themselves on the "topics" I cited previously... 👎
This has already happened for the "downstream" project,
yt-dlp; foryoutube-dl, you're probably on your own (3rd party provided "daily" binaries will be made available in the wee hours of tomorrow 😉 ) - BTW, as you might have read already,masterbranch, currently, only averts the app from "barfing" completely at physical locations whereuploader_idfails to be extracted by the pre-existing RegExp code...@jamiedaniel commented on GitHub (Feb 17, 2023):
I have the same issue:
Python version 3.10.10 (CPython) - macOS-13.2.1-arm64-arm-64bit
@Delitants commented on GitHub (Feb 17, 2023):
Omg why it takes so long to fix this?
@dirkf commented on GitHub (Feb 17, 2023):
See https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1434498460.
@Akshat752 commented on GitHub (Feb 17, 2023):
Is there a fix?
@dirkf commented on GitHub (Feb 17, 2023):
See https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435088359.
Also review #31535.
@tukkek commented on GitHub (Feb 17, 2023):
As a temporary work-around for
youtube-dlusers, I can confirm that the current version ofyt-dlpavailable onpiphas fixed the issue (but I did have to use-f bestto avoid an error fetching URLs).I know this isn't exactly the place to share this but I'm sure lots of people are coming here to find a practical solution and not just to report the error so hopefully this is useful to someone reading.
@felixm3 commented on GitHub (Feb 17, 2023):
Same issue. 🥲
Also:
@Delitants commented on GitHub (Feb 17, 2023):
pip install --upgrade yt-dlp
and replace youtube-dl command with yt-dlp
@dirkf commented on GitHub (Feb 17, 2023):
The current position is that the crash has been fixed for both yt-dl and yt-dlp and #31535 describes what someone could do to obtain fixed versions.
Now, the issue has shown up in the UK this evening so I can more easily review the question of what should be extracted when the
ownerProfileUrlis like/@{channel}.Result.
@pimsdsigd commented on GitHub (Feb 17, 2023):
The issue is persisting with yt-dl in France. Please let me know when you got it fixed in your zone
@CimimUxMaio commented on GitHub (Feb 17, 2023):
What about youtube_dl as a python library? Is there a way to make it work or should we wait for a new release?
@skjsjslee commented on GitHub (Feb 17, 2023):
Started seeing this problem today. As others have reported, building from the source does take care of the particular issue.
@Cheeseless commented on GitHub (Feb 17, 2023):
I have to ask. If the issue has been fixed in master, why isn't there a new release? Seems like that would prevent spam more effectively than telling inexperienced users to building from source.
@dirkf commented on GitHub (Feb 17, 2023):
It will until you take one of the actions mentioned in #31535. Or if YT rolls back the new page structure.
Install from the git master with pip to get the latest fixes, or even replace or patch
youtube_dl/extractor/youtube.py(care needed depending on permissions).@nPHYN1T3 commented on GitHub (Feb 17, 2023):
I've read #31535 far too many times thinking I've missed these magical actions only to still not see these magical actions to remedy things. There are also no instructions on how to build from the source, just the little dev blurb about adding your own extractor that still ends with no build but just how to pull/push and wait for someone else to build the binary. I'm ignorant when it comes to making python into a single bin and the docs aren't helping.
I seriously doubt YT will "roll back" anything. I'm sure this like many previous changes are to cause problems like this to better funnel viewers on to official viewing platforms for data collection.
As a related but unrelated issue VLC can no longer play YT either and no update to it's lua for YT either.
@dirkf commented on GitHub (Feb 17, 2023):
You don't have to "build from source". Youtube-dl is a Python program that runs directly under a variety of Python versions with no setup beyond pip.
It's possible to make single-file versions of the program that unpack the program and a Python interpreter every time you run the program. The linked issue suggests how you could obtain such a version of the program.
@dirkf commented on GitHub (Feb 17, 2023):
I believe VLC's yt-dl integration has been broken for some time. The maintainer of the yt-dl hook made a fuss about patching yt-dl with code based on his LUA patch when YT started requiring a challenge to be solved for unthrottled download speeds but hasn't taken advantage of the unthrottling code placed in the public domain by yt-dlp and yt-dl.
With video players like VLC that can accept a pipe as input, pipe yt-dl's download into the player, using yt-dl option
-o -and typically-as the filename for the player. This certainly works for me with mpv.@nPHYN1T3 commented on GitHub (Feb 17, 2023):
Well since I clearly can't see anything on that post that would suggest where to "obtain" a working version of the program I guess telling me it has info on where to obtain a working version of the program doesn't help...unless of course you mean I should use the OTHER program (yt-dlp). Again, you didn't make that clear and I'm here for youtube-dl not yt-dlp. Perhaps I will look into that and rewrite all my systems to use that given how youtube-dl hasn't had a new release in over a year and this thread is like 1980's stereo instructions on mescaline. ;p
@nPHYN1T3 commented on GitHub (Feb 17, 2023):
For not having to build this as a bin I tried running from the master code zip I grabbed and it fails to run. I was going to swap out the lines noted in the dif but that too was a mess. Says replace 2125 (or something) but then that bit is over 3 or 4 lines in there. When I tried to python -m bla bla it wouldn't run leaving me wondering if perhaps the working directory was wrong for it but again, the docs gloss over so much. Like the python -m youtube-dl...just run it...from where in its directory structure?
@jmazzitelli commented on GitHub (Feb 17, 2023):
@nPHYN1T3 I feel your pain. I just got here due to this error and was at a loss just like you. Reading the dev instructions and trying it, I got it to work. This is how:
git clone https://github.com/ytdl-org/youtube-dl.gitcd youtube-dl/(note the "dash"-in youtube-dl)python -m youtube_dl <YT URL>(note the underscore_in youtube_dl)You'll get a warning still about the "unable to extract uploader_id" but it will keep going.
@nPHYN1T3 commented on GitHub (Feb 17, 2023):
I don't use git so I didn't clone, I just grabbed the master zipped. I suspect there is some difference in directory structure. When I ran python -m youtube_dl it just died, don't remember the error but it died. i.e. it didn't do anything but kick out the error. So I opened the py to see what it was doing. Was only a few lines basically importing the youtube-dl folder in the same directory so it seemed it should have worked. I'm adapting things for the yt-dlp. I had never looked at it but seems like a dead drop in replacement. From what I gleaned on some other posts it was just a different program but looks like a fork with some give and take on features but a lot more up to date. I tested it and it works so I'm switching though I'm not sure it will 100% work with my stuff yet. I mean it works but not sure all the same options and args are there yet...just checking things out now and it's bed time so I'm a tad frazzled.
@dirkf commented on GitHub (Feb 17, 2023):
Crikey, that was all described in the posts of the linked issue by bashonly and myself. Also, USE PIP to install from the repo if you have a working Python, and get one if you don't.
@CimimUxMaio commented on GitHub (Feb 17, 2023):
For those using the python Iibrary, You can install the master branch using:
pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl
I think it is simpler.
@Vangelis66 commented on GitHub (Feb 17, 2023):
Running from updated
master branchsource, for Windows users, with CPython installed and already in your%PATH%- theyt-dlpway 😜 ...Navigate in your browser to:
https://github.com/ytdl-org/youtube-dl
Locate and expand the green
<> CodebuttonDownload the git source via the
Download ZIPbutton(actual link:
https://api.github.com/repos/ytdl-org/youtube-dl/zipball/master)
Once on disk, extract "here" (natively via Windows Explorer or via your preferred extractor - I use
7-zip) - the archive should be extracted onto a disk location where your Windows account haswriteprivileges...Open the extracted folder (named
ytdl-org-youtube-dl-2dd6c6e); inside it, create ayoutube-dl.cmdfile with below content:The lot should look like below:
Open your Windows Command Prompt, then
cdto the inside of the extracted folder.You can then run `youtube-dl` by invoking the newly created `.cmd` (aka `.bat`) file:
@Pigeonwang08 commented on GitHub (Feb 17, 2023):
I met the same problme today 2/18
So how can I solve this problem on Linux ? I‘m a fresh user that have no idea
plz this is really important for me
@dirkf commented on GitHub (Feb 17, 2023):
How was your yt-dl installed?
@dirkf commented on GitHub (Feb 17, 2023):
Installing from the nightly build release is the recommended solution. The examples below could be adapted for use there.
Indeed. What is the effect of
#egg=youtube_dl?You may need to add
--force-reinstallsince pip can't tell that this is a new version. For instance, @paulrougieux recommends this:To avoid requiring git, use the zip download offered from the "<> Code>Download ZIP" pull-down on the main page, but changing the extension to .tar.gz; or use the .tar.gz source download from the nightly release page.
Some package managers eliminate pip from the Python installation itself. Eg, with apt, you also have to install
python-pip(2.7) orpython3-pip.In any pip commands it's recommended to use
python -m pipinstead of justpip, wherepythonis the name of the Python that you want or expect to run yt-dl, saypython3.9. Be sure to use the same Python that is running when yt-dl runs.See also https://adamj.eu/tech/2019/03/11/pip-install-from-a-git-repository/.
@joyspce commented on GitHub (Feb 18, 2023):
Python version 3.8.10 (CPython) - Linux-4.19.0-23-amd64-x86_64-with-glibc2.29
@VinnieThePooh commented on GitHub (Feb 18, 2023):
Problem confirmed on Arch Linux (installed via pacman)
So, is it about markup change?
@camopants commented on GitHub (Feb 18, 2023):
UK based. Similar to all above. Consistent behaviour across multiple candidate videos.
Python version 2.7.17 (CPython) - Linux-4.15.0-204-generic-x86_64-with-Ubuntu-18.04-bionic
@comicsansgreenki commented on GitHub (Feb 18, 2023):
Installed via
pip3on Fedora 37 - version2021.12.17. Error log matches above.@buhtz commented on GitHub (Feb 18, 2023):
Please let me also add my output
Python version 3.9.2 (CPython) - Linux-5.10.0-21-amd64-x86_64-with-glibc2.31
@pimsdsigd commented on GitHub (Feb 18, 2023):
Hello I run on Windows without Python and the solution described above does not apply to this configuration, will there be a new build that is working or should we just move on to another project ?
@dirkk0 commented on GitHub (Feb 18, 2023):
For Linux:
python3 youtube_dl/__main__.py YT_ID@nicolaasjan commented on GitHub (Feb 18, 2023):
You could use the daily build from here.
Or move to yt-dlp.
@nachanon commented on GitHub (Feb 18, 2023):
I have this problem with "latest" 2021.12.17 (i.e. 1+ year old) release too; the problem cropped up just today. But unlike many people who reported here: I actually use YouTube-DL from a very old (GNU/Linux) system, so YouTuble-DLP is not an option for me...
Regarding a use of current Git version, I do know how to use Git, but there is also more complication: I have found that current
mastercommit of YouTube-DL at the time of this writing (2dd6c6e) also failed to run on my configuration, for a different reason (very likely a regression)...Out of curiosity, I decided to do
git bisecttest (2021.12.17a.k.a.5014bd6good,2dd6c6ebad) to see what caused this regression, and I found that:So I went back to current
master(2dd6c6e) and backed this offending commit out usinggit show e19ec52 | patch -p1 -R, then tried again... and voila!And once I installed Pandoc on the system and re-run Make, it completed and I could finally install the patched YouTube-DL on my system:
^ So this is the current "workaround" procedure for people who are using (and/or care about) older systems. I'll probably report the regression later as a separate bug once I have time to.
YouTube-DL (original version tried): 2021.12.17 (source)
YouTube-DL (new, failed to compile): 2021.12.17-185-g2dd6c6e (Git 17-Feb-2023)
YouTube-DL (new, working): 2021.12.17-185-g2dd6c6e (Git 17-Feb-2023) with
e19ec52backed outPython: 2.7.3 (Debian)
Git: 1.7.10.4 (Debian)
System: Debian GNU/Linux 7.0 "Wheezy" i386
@bagasme commented on GitHub (Feb 18, 2023):
I'm chiming in...
On current master (commit
2dd6c6edd8), listing available formats (-F) for Eat Bulaga Ending as test video, the error is downgraded to warning and the operation successed:you-get still works as before.
@pukkandan commented on GitHub (Feb 18, 2023):
@dirkf, you are going to have a terrible time playing whack-a-mole with duplicates. I suggest you should pin this, along with update instructions (pip / https://github.com/ytdl-patched/youtube-dl) to hopefully reduce the number of dups being opened
@dirkf commented on GitHub (Feb 18, 2023):
"are going to"?!
@dirkf commented on GitHub (Feb 18, 2023):
@nachanon, you're trying too hard. Just install the checked-out master in place of your previous installation ... at least once #31597 is fixed. Thanks.
Your Python probably doesn't have a pip that can do that directly from the repo, or perhaps not even from a local archive, but you can just copy the checked-out
youtube_dldirectory in place of the one in your installation (after backing up, obvs).Also, @camopants, @s1sw4nto (but #31600).
@jmazzitelli commented on GitHub (Feb 18, 2023):
FWIW: suggesting that fork of
yt-dlpdoes not help some people, particularly those who cannot upgrade (for whatever reason) to Python 3.7. I fit in with that camp.yt-dlpis not an option for me as I am pinned on py 3.6 and cannot upgrade.That said, running from master worked for me. See: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435447033
@bagasme commented on GitHub (Feb 18, 2023):
I think so.
FYI, I came to this issue when browsing this repo. The topmost commit was
2dd6c6edd8, which mentioned this issue (and it is related).I guess that when this issue has been closed and fixed, a new release should be made and inform users to immediately upgrade.
@dirkf commented on GitHub (Feb 18, 2023):
@jmazzitelli, like @nPHYN1T3, just use pip with your relatively up-to-date Python.
Also @dirkk0, @buhtz, @comicsansgreenki, @huzzam, @jamiedaniel, @joyspce, @VinnieThePooh, @LaTaupeEspagnole.
@nPHYN1T3 commented on GitHub (Feb 18, 2023):
Pass...pip, pypy, composer, npm, yada yada malware bloat installers.
@jmazzitelli commented on GitHub (Feb 18, 2023):
Thanks. I'm a python noob - I have no idea if installing stuff via pip will screw up my 3.6 environment (its very important I do not impact my py 3.6) .. so I avoided it.
And, actually, I was able to grab a patched version from here, and that worked good, too. Just replaced my old youtube-dl with that and all worked well.
So, there are at least 2 ways people can fix this problem without worrying about that yt-dlp fork.
Either run from master or get that patched youtube-dl.
@dirkf commented on GitHub (Feb 18, 2023):
No, pip is a core feature of your Python installation, so use it.
The ability to install directly from a git repo, in particular from GitHub, is fairly recent. v20.3.4 is the last version that works in 2.7, 3.5 and later. For other versions check the pip changelog: eg, 3.2 needs 7.1.2, 3.4 needs 19.1.1 (thanks @Vangelis66).
@i-am-dan commented on GitHub (Feb 18, 2023):
I was able to pip install the source package and can confirm the fix. I'm a novice-intermediate with python and I don't believe this install will affect your environment since it's just a pip install.
@gspears333 commented on GitHub (Feb 18, 2023):
This issue also hit me today, 1st time ever I've had a youtube-dl bug. I have verified my installation is current via the youtube-dl -U switch. It occurred when trying to download youtube vid ( https://www.youtube.com/watch?v=Jnc77gMihPo ) on my Windows 10 OS HP laptop. Verbose log for you -- thanks and kind regards:
Python version 3.4.4 (CPython) - Windows-10-10.0.19041
@dirkf commented on GitHub (Feb 18, 2023):
@gspears333, see https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435304041, https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435615065,
and #31535.
@jmazzitelli commented on GitHub (Feb 18, 2023):
@gspears333 and also see https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435687661
@gspears333 commented on GitHub (Feb 18, 2023):
Dude -- you the bomb! Thanks and the patch (the .exe version) has been successful on my yt download. Thanks again,....
@Tyrewt commented on GitHub (Feb 18, 2023):
Error remains after running youtube-dl -U: youtube-dl is up-to-date (2021.12.17) - Has this issue been fixed or am I misunderstanding?
@dirkf commented on GitHub (Feb 18, 2023):
To acquire the fix review the thread above, depending on your installation type. See also #31535.
@dirkf commented on GitHub (Feb 18, 2023):
After the issue showed up in the UK last night, I looked at problem video
3h5-QPbKoVg:In this page the
@...value appears here:And here, but this is just a navigation link:
And in the
ytInitialPlayerResponse:And in the
ytInitialData, hidden in metadata attached tovideoSecondaryInfoRenderer.owner, and also in the secondary video channel list and play-next items that come from the same uploader/channel.While
UC9AY3VP-VqMJh_Uj_1BbSPAappears inAnd in the
ytInitialPlayerResponseTo summarise:
In the final column I skipped some excessively deeply nested equivalents.
Now look at the yt-dl test video
BaW_jenozKc, where these values are expected:In the page that is now being served:
Philipp Hagemeisterappears whereAudio Visual Clipsappeared in3h5-QPbKoVgphihag(apart from Philipp's email address)/user/phihageitherUCLqxVugv74EIW3VWh2NOa3Qappears whereUC9AY3VP-VqMJh_Uj_1BbSPAappeared in3h5-QPbKoVg/channel/...(but the tested value is currently created from thechannel_idand not extracted)So this supports the theory that YT is migrating to channel URLs like
/@{channel}instead of/channel/{channel_id}, though not (yet) redirecting from the latter. And the existing test-cases can't be saved, which is a pain considering how many there are.Proposed final resolution:
uploaderis the author text valuechannelis the sameuploader_idbecomes the @... valuechannel_idischannelIduploader_urlis the author URL with /@...channel_urlis/channel/{channel_id}at least while that is valid.@coletdjnz commented on GitHub (Feb 18, 2023):
In yt-dlp we're looking at changing it to something similar:
channelanduploaderare the same (current value ofchannel)-
channel_idis only the channel UCIDchannel_urlis only the UCID channel urluploader_idis only the handle including the@uploader_urlis only the handle url@dwpoint commented on GitHub (Feb 18, 2023):
@nicolaasjan Thanks, your answer helped. Why doesn't the library itself correct this error? I have the latest version.
@udippel commented on GitHub (Feb 18, 2023):
Instead of messing up my install with #31535 or likewise: when could we expect an update through youtube-dl -U, please?
@Sudo-null7 commented on GitHub (Feb 18, 2023):
Similar issue youtube changed there @ user stuff that youtube-dl hasn't implemented a fix for? due to this being a new thing
also happens with a URL
@Cheeseless commented on GitHub (Feb 18, 2023):
The issue has been fixed already, there's just no release made for it for some reason so everyone's getting pointed at a manual update process in #31535. I can't imagine what that reason might be, though.
@dirkf commented on GitHub (Feb 18, 2023):
Not soon enough to avoid the update methods already documented, which is why they were.
@HalfDemon commented on GitHub (Feb 18, 2023):
Python version 3.4.4 (CPython) - Windows-10-10.0.22000
@Vangelis66 commented on GitHub (Feb 18, 2023):
In
py3.4, the last compatiblepipversion is 19.1.1 😉 ; this is important to Windows XP diehards not onpy2.7.18, becausepy3.4.xis the highestpy3version compatible with that OS...After 19.1.1, came 19.2, which dropped support for any
py3version < 3.5 (but did keep support forpy2.7- and that support, like you said, was kept until (& including)pipv20.3.4) ...@acche commented on GitHub (Feb 18, 2023):
ERROR: Unable to extract uploader id; How to resolve it?
@sunneo commented on GitHub (Feb 19, 2023):
Python version 3.4.4 (CPython) - Windows-10-10.0.19041
@mercer commented on GitHub (Feb 19, 2023):
Similar behavior as with other reports in this thread.
Python version 3.10.9 (CPython) - macOS-13.1-arm64-arm-64bit
@JohnTRL commented on GitHub (Feb 19, 2023):
Y'all, go /youtube_dl/extractor/common.py.
Line 983, change:
fatal=Truetofatal=False@s1sw4nto commented on GitHub (Feb 19, 2023):
Please update binary releases for Linux, compatible with python 2.6 or 2.7
@nachanon commented on GitHub (Feb 19, 2023):
@dirkf,
You misread my comment: I explicitly said that I had to revert some non-related commit for current Git-master YouTube-DL (
2dd6c6e) to even start issuing the first request from my system-- which runs Python 2.7.3.For that reason (now known as bug #31597), "Just install the checked-out master" will simply not work on my setup; and since the comment contains an exact procedure to make it work, hiding my comment is a disservice to other users who are fumbling in the dark to make it run from systems of similar age, a bearing similar range of Python version honestly.
YouTube-DL: 2021.12.17-185-g2dd6c6e (Git 17-Feb-2023) with
e19ec52backed outPython: 2.7.3 (Debian)
System: Debian GNU/Linux 7.0 "Wheezy" i386
@udippel commented on GitHub (Feb 19, 2023):
Okay, so I should follow #31535, I guess.
Went there, but was unclear what do do, what I need. Don't want to mess up my system. *buntu 22.04, python3.
If youtube-dl -U is not to be expected very soon, it might be good to write a comprehensive 'Manual Update' for the most common OSes, and maybe python*.
@dirkf commented on GitHub (Feb 19, 2023):
tldr; (and who can blame you?)
Updating with -U won't work until there is a new release. There is now a nightly build of youtube-dl in our repo here: https://github.com/ytdl-org/ytdl-nightly/releases; please install from there. You can install this in the same ways as described in the manual, but change the URL for the download to match the appropriate one on the nightly release page. This is the way to go if you want a single file executable build, or if other methods don't succeed. See my post below for a script, or use a package like python-is-python3, or make a symbolic link, if your environment is POSIX-like and you don't have a Python called
python.If you installed with a package manager (apt, yum, brew, winget, etc), you may find that the maintainers of your package repository have updated the package from a fixed development version (but, eg, Ubuntu so far only has a PPA update; see below for brew). As suggested by @HinTak, you could also ask the packagers of yt-dl in your package or distro repository to update the package from the git master of this repo, though some prefer only release builds.
If you have a Python installation, use pip to install from the git master of this repo: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247.
If your yt-dl was installed with a package manager that needed admin, the command to update the module will need the same.
If you installed with brew, brew can now update you to a patched version that doesn't crash, but is not the latest git master. You can also try the
--HEADoption to update to the latest master code, similar to the pip-based suggestions.Or you can try using yt-dlp instead if your environment supports it: https://github.com/yt-dlp/yt-dlp.
Obviously, if you've tried to update in one of these ways and the original issue persists, the update didn't work: you are still running the release version or a development version that doesn't include the fix. Please check exactly how your yt-dl was installed and update accordingly. It may be easiest just to uninstall it and install the appropriate single file nightly build instead.
@dirkf commented on GitHub (Feb 19, 2023):
@nachanon
Unless you have this problem with the nightly build as linked above, I suggest that you broke the build while making your changes. The CI tests pass for Python 2.7 as you can check. That's why I don't want to publicise your experience, especially as a simpler solution is on offer.
@s1sw4nto commented on GitHub (Feb 19, 2023):
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 9, in
load_entry_point('youtube-dl==2021.12.17', 'console_scripts', 'youtube-dl')()
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 299, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2229, in load_entry_point
return ep.load()
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/lib/python2.6/site-packages/youtube_dl/init.py", line 15, in
from .options import (
File "/usr/lib/python2.6/site-packages/youtube_dl/options.py", line 8, in
from .downloader.external import list_external_downloaders
File "/usr/lib/python2.6/site-packages/youtube_dl/downloader/init.py", line 23, in
from .niconico import NiconicoDmcFD
File "/usr/lib/python2.6/site-packages/youtube_dl/downloader/niconico.py", line 11, in
from ..extractor.niconico import NiconicoIE
File "/usr/lib/python2.6/site-packages/youtube_dl/extractor/init.py", line 9, in
from .extractors import *
File "/usr/lib/python2.6/site-packages/youtube_dl/extractor/extractors.py", line 43, in
from .amara import AmaraIE
File "/usr/lib/python2.6/site-packages/youtube_dl/extractor/amara.py", line 5, in
from .youtube import YoutubeIE
File "/usr/lib/python2.6/site-packages/youtube_dl/extractor/youtube.py", line 23, in
from ..jsinterp import JSInterpreter
File "/usr/lib/python2.6/site-packages/youtube_dl/jsinterp.py", line 265
counters = {k: 0 for k in _MATCHING_PARENS.values()}
^
SyntaxError: invalid syntax
@udippel commented on GitHub (Feb 19, 2023):
Fantastic. It SAYS : "Successfully installed youtube_dl-2021.12.17", but doesn't fail any longer.
[Edited to revert to my original comment]
Thanks a bunch for the help!
It DOES work, though brings up the 'unable to extract uploader id' as a warning.
My deepest apologies for the editing mess!
@LaTaupeEspagnole commented on GitHub (Feb 19, 2023):
Same here :
Verbose log
Python version 3.10.9 (CPython) - Linux-6.1.12-arch1-1-x86_64-with-glibc2.37
Description
Seems youtube-dl can not get the "uploader id" on the page https://www.youtube.com/watch?v=VfLAXJPz_q4. It is an open video playable on browser and published 5 years ago.
@udippel commented on GitHub (Feb 19, 2023):
Tried yours with the update of git master, and - just to confirm - worx.
Python version 3.10.6 (CPython) - Linux-5.15.0-60-generic-x86_64-with-glibc2.35
@arceon6 commented on GitHub (Feb 19, 2023):
Sorry for duplicate bug report. Still figuring this out. Ran sudo pip install --upgrade youtube_dl before youtube-dl errored out by the way.
@ghost commented on GitHub (Feb 19, 2023):
@dirkf I saw the issue was fixed in the sticky'ed issue but I'm still receiving it after cloning master branch fresh
@dirkf commented on GitHub (Feb 19, 2023):
That's a
WARNING, not anERROR, so it doesn't crash the program. The warning will go away once a full fix based on the analysis presented (way) above has been applied. The warning shows you that the value you might have expected to be extracted in the metadata is missing.@kof0012 commented on GitHub (Feb 19, 2023):
thanks,i have fix it.
@nicolaasjan commented on GitHub (Feb 20, 2023):
Please note that this fix is "borrowed" from the fork project yt-dlp.
The fix here looks different.
@rmottainfo commented on GitHub (Feb 20, 2023):
I have already performed tests with various URLs, carried out the upgrade, and finally, is the procedure of sending the log correct?
youtube-dl --verbose https://www.youtube.com/watch?v=kvher7AlvrY
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=kvher7AlvrY']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.9.2 (CPython) - Linux-5.10.0-19-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.5-0, ffprobe 4.3.5-0, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] kvher7AlvrY: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/rodrigo/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/home/rodrigo/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/home/rodrigo/.local/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/home/rodrigo/.local/lib/python3.9/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/home/rodrigo/.local/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@udippel commented on GitHub (Feb 20, 2023):
I might become boring, though it works perfectly well (except of a warning) with the pip to install from the git master of this repo: [#31530 (comment)
In case you just want to GET the clip.
@ash80 commented on GitHub (Feb 20, 2023):
On Windows
@whinee commented on GitHub (Feb 20, 2023):
On Linux:
Command:
Output:
@FallenWolf69 commented on GitHub (Feb 20, 2023):
I've suddenly been receiving a similar output despite being on the latest version of Youtube-dl:
PS Z:\ytdl> youtube-dl -x --audio-format mp3 https://www.youtube.com/watch?v=W4VTq0sa9yg[youtube] W4VTq0sa9yg: Downloading webpageERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.PS Z:\ytdl> youtube-dl --version2021.12.17PS Z:\ytdl> youtube-dl -Uyoutube-dl is up-to-date (2021.12.17)PS Z:\ytdl>@ProgrammingLife commented on GitHub (Feb 21, 2023):
Thanks, works like a charm!
@aabha3201 commented on GitHub (Feb 21, 2023):
Unable to extract uploader id
@Pinho80 commented on GitHub (Feb 21, 2023):
I've following this error and how interested are the youtube-dl creators. My solution was to change my YT downloader app. You can browse for a Flatpak solution.
@ReenigneArcher commented on GitHub (Feb 21, 2023):
A maintainer should probably lock this issue and limit it to contributors... nothing valuable is being added.
@Vangelis66 commented on GitHub (Feb 21, 2023):
"The" (only one) current maintainer has his hands full with editing+closing the tens of duplicate issues people insist on submitting, showing complete disrespect to the procedure outlined in #30839 😡 (a PINNED issue no less in the tracker) ...
Locking this issue, the first/original one, will cause, no doubt, further duplicates' explosion...
I (probably) agree, but that's because most "people" don't take some seconds/a minute to browse already posted info/solutions inside this thread and simply want to add a
me, toocomment, to "get it out of their chests" or similar... And, of course, everybody wants the easiest solution ASAP, that will restore their downloading "needs" in mere seconds (hence most decide to migrate todownstream, because tagged releases and sought-for binaries are already available - but certain older environments are not compatible withdownstream) ...@ReenigneArcher commented on GitHub (Feb 21, 2023):
True, in that case I would then suggest disabling interactions from new GitHub users.

Won't stop all of this, but should help.
Pinning this specific issue would probably help reduce the duplicates (a little).
@Dec-35 commented on GitHub (Feb 21, 2023):
@dirkf
Okay, I might be dumb but I've run
pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl(andpython399 -m pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dlbtw since I have another python instance called python399) and that fixes nothing...Python version 3.9.9 (CPython) - Windows-10-10.0.22621-SP0, release version
@zaphida commented on GitHub (Feb 21, 2023):
pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dlI successfully updated youtube-dl using the above command to 2021.12.17 but I still get the same error as you @Dec-35, I don't think you're dumb:
Python version 3.10.6 (CPython) - Linux-5.15.0-60-generic-x86_64-with-glibc2.35, release version
@Vangelis66 commented on GitHub (Feb 21, 2023):
You're a Windows user, so the easiest solution for you is this one (a standalone x86 Windows binary).
If you insist on installing from
git master(and having multiple Python environments might cause issues), then thegit+httpspart implies you have installed git-for-windows and thatgit.exehas been added to your%PATH%...You would then invoke
yt-dlvia your preferred python version like this:python -m youtube_dl blahblahblah@Dec-35 commented on GitHub (Feb 21, 2023):
After downloading the latest youtube-dl.exe, placing it in my Programs folder and adding it to the PATH, I still get the same error:
Also:
[debug] youtube-dl version 2021.12.17(is this normal? Aren't I supposed to get a newer version since I'm running a daily build?)@dirkf commented on GitHub (Feb 21, 2023):
Agreed. Also, remove or rename the old single file
youtube-dl.exeto ensure that it isn't running when you invokeyoutube-dl. With the patched nightly build you would presumably overwrite the old one anywayThe nightly build has an updated version date and a disclaimer like this
while a pip version updated from the repo can be identified by an additional line like this
@zaphida, seems like you haven't updated the yt-dl instance that you intended. How was yt-dl installed on your system?
@Vangelis66 commented on GitHub (Feb 21, 2023):
Where from?
@Dec-35 commented on GitHub (Feb 21, 2023):
this link:
@Dec-35 commented on GitHub (Feb 21, 2023):
I think I know what's happening: I originally installed youtube-dl with pip and that must still be the default. I'll try to remove the pip version and thus force it to use the new executable that is in the PATH
@Vangelis66 commented on GitHub (Feb 21, 2023):
That binary reports here:
@zaphida commented on GitHub (Feb 21, 2023):
Using apt.
2021.12.17 is the version that pip grabbed from the git repository and built:
kernel ~ pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl Defaulting to user installation because normal site-packages is not writeable Collecting youtube_dl Cloning https://github.com/ytdl-org/youtube-dl.git (to revision master) to /tmp/pip-install-_otuq9fs/youtube-dl_8d519f6d33994564a562163328603a85 Running command git clone --filter=blob:none --quiet https://github.com/ytdl-org/youtube-dl.git /tmp/pip-install-_otuq9fs/youtube-dl_8d519f6d33994564a562163328603a85 Resolved https://github.com/ytdl-org/youtube-dl.git to commit 6067451e432fb65d487a8a67bb5cff52efb9ccf4 Preparing metadata (setup.py) ... done Building wheels for collected packages: youtube_dl Building wheel for youtube_dl (setup.py) ... done Created wheel for youtube_dl: filename=youtube_dl-2021.12.17-py2.py3-none-any.whl size=1918029 sha256=7a858a8eae1ad7623f9b1a5cde75e36eecaf8e0b6b948824c58b4e669c8e9fc4 Stored in directory: /tmp/pip-ephem-wheel-cache-59aqyrhf/wheels/b8/03/62/9c414b89a26da510b0a6d984b0ba74200d591e3d0abfa72aa8 Successfully built youtube_dl Installing collected packages: youtube_dl Successfully installed youtube_dl-2021.12.17@Vangelis66 commented on GitHub (Feb 21, 2023):
... This isn't available in the standalone Windows executable (see above); if you were referring to a different way of a
yt-dlinstallation, then please disregard 😉 ...Edit: The comment I quoted from has been now edited to reflect it referenced a
pip"type" of installation 😜 ...@Dec-35 commented on GitHub (Feb 21, 2023):
Okay. Fixed. Recap:
I had previously installed youtube-dl with pip.
I then downloaded the daily executable, put it inside a folder which I coppied the path of and added it to the PATH
After running
pip uninstall youtube-dl -yand a quick terminal restart, everything is back in order.@dirkf commented on GitHub (Feb 21, 2023):
@zaphida, the pip update isn't the version that's running in your log (no
Git HEAD). You probably need to run the pip command withsudoto modify the version installed by apt; also usepython3.10 -m pipin case pip is linked to some other Python.And of course xkcd.
@bluevalien commented on GitHub (Feb 21, 2023):
if it helps, I installed installed various versions of
youtube-dlto find out where it "broke"youtube-dl-2021.1.24.1works andyoutube-dl-2021.2.4gives the errorUnable to extract uploader id. * edit was hereall tests were run in python using some basic code in a venv
I'm using
python -m pip install youtube-dl==2021.1.24.1as a work-around for now.@zaphida commented on GitHub (Feb 21, 2023):
@dirkf thanks, I removed the version installed by apt and reinstalled with python3.10 -m pip install youtube-dl
Running pip install with sudo gives a scary looking warning:
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venvI'd rather not tread into that territory.
I still see no Git HEAD in the log, and I still get the unable to extract uploader id warning, but the video gets downloaded.
@dirkf commented on GitHub (Feb 22, 2023):
@zaphida, clearly that worked, then.
@dirkf commented on GitHub (Feb 22, 2023):
Why not follow one of the solutions presented here instead of installing an old version that will fail differently?
@Anduin2017 commented on GitHub (Feb 22, 2023):
Since we have a solution, please release a new production version with fix so we just download the latest production version and can use it well.
@thlor commented on GitHub (Feb 22, 2023):
Could be a hotfix of the latest (2021.12.17) release, so nothing would get released which has been implemented since but is not ready for release yet. Making the -U flag work would help a lot of people and put an end of the duplicate issue reports.
@infinitejesp commented on GitHub (Feb 22, 2023):
I'm too basic of a user to implement any of the workarounds illustrated above really. Will eagerly await a new release.
@ghost commented on GitHub (Feb 22, 2023):
@s3n0 commented on GitHub (Feb 22, 2023):
Hi.
Has the latest build (exe-binary) with a fix for Windows systems not yet been compiled and released ?
I downloaded the latest youtube-dl.exe (2021.12.17.0) but the problem persists.
URL download source: https://yt-dl.org/downloads/2021.12.17/youtube-dl.exe
Exactly as @dmelladoc last wrote: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1433230848
@tranzmatt commented on GitHub (Feb 22, 2023):
This crashed it for me:
owner_profile_url: http://www.youtube.com/@DarbySpiegel1027
@dirkf commented on GitHub (Feb 22, 2023):
Current test version (private) on a video from that channel:
@szekster commented on GitHub (Feb 22, 2023):
Latest youtube-dl downloaded, but after the update I am still getting the error:
[youtube] eFwcBVGLQM0: Downloading webpage
ERROR: Unable to extract uploader id;
still reporting same version, not sure if this was changed in the patch.
youtube-dl --version
2021.12.17
Running on Oracle Linux 8. Originally installed youtube-dl with commands:
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
actually just checked and https://yt-dl.org/downloads/latest/youtube-dl still appears to be the old version. guess I can try with pip.
@Takage commented on GitHub (Feb 22, 2023):
I am on a Mac. The fix did not work for me still the same error: ERROR: Unable to extract uploader id;
@dirkf commented on GitHub (Feb 22, 2023):
If you see
ERROR: Unable to extract uploader id;, you are still running the release version or a development version that doesn't include the fix. Please check exactly how your yt-dl was installed and update accordingly. It may be easiest just to uninstall it and install the appropriate single file nightly build instead. Updating with-Uwon't work until there is a new release.@ci-bo commented on GitHub (Feb 22, 2023):
It would be easiest if the -U flag worked instead of failing and recommending the user submit a bug report.
@s3n0 commented on GitHub (Feb 23, 2023):
In my case the
-Uargument does not work... and the latest version downloaded from the internet as released version:Windows exe (sig - SHA256 26e5c00c35c5c3edc86dfc0a720aed109a13b1b7c67ac654a0ce8ff82a1f2c16)
... which is not fixed, also always shows the same error.
@mysiar commented on GitHub (Feb 23, 2023):
I have the same problem
@gittieandpete commented on GitHub (Feb 23, 2023):
Still not working here, version 2021.12.17. The output of --verbose:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'bestaudio', '-x', '--audio-format', 'mp3', '--verbose', 'https://www.youtube.com/watch?v=4Zu0iDvCjgk']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.6.9 (CPython) - Linux-5.4.0-139-generic-x86_64-with-Ubuntu-20.04-focal
[debug] exe versions: ffmpeg 3.4.11, ffprobe 3.4.11
[debug] Proxy map: {}
[youtube] 4Zu0iDvCjgk: Downloading webpage
WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (Unhandled exception in decode; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last):
File "/snap/youtube-dl/4806/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 1524, in _n_descramble
raise ExtractorError('Unhandled exception in decode')
youtube_dl.utils.ExtractorError: Unhandled exception in decode; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
)
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/snap/youtube-dl/4806/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 816, in wrapper
return func(self, *args, **kwargs)
File "/snap/youtube-dl/4806/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 837, in __extract_info
ie_result = ie.extract(url)
File "/snap/youtube-dl/4806/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/snap/youtube-dl/4806/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 1974, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/snap/youtube-dl/4806/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@ci-bo commented on GitHub (Feb 23, 2023):
There you have it. No update will be provided because we made too many bug reports.
@udippel commented on GitHub (Feb 23, 2023):
I mean, FOSS is a good thing. Though no OS gives you two helping hands. And when you come here, and see some 200 posts, yes, you are expected to start scanning from the top, what solutions could be found. And there are some. And references.
Since you are on Linux, this might work:
(Okay, that's just to TRY, not yet in the correct location. But now
$ .local/bin/youtube-dl https://www.youtube.com/.....
should do the job. At least, here it does. If you wanted, you could next install it system-wide.
@qixxttxl commented on GitHub (Feb 23, 2023):
@gittieandpete commented on GitHub (Feb 23, 2023):
Sorry I was not aware this being a duplicate. I thought it is still #31530.
@gittieandpete commented on GitHub (Feb 23, 2023):
@ci-bo commented on GitHub (Feb 23, 2023):
dirkf/dirkk0, you're getting lots of duplicate reports because the provided solution doesn't fix the issue. The issue isn't "unable to extract uploader id" - that's fixed! Now the pressing issue is that -U is broken. Users are expecting a solution which makes -U grab the updates, as intended. If the problem is that -U doesn't work, and you can't make -U work "(yet)", well... let's just say that every bug report you close without addressing the underlying problem makes it more likely that a redundant bug report will appear! 😉
It could decrease confusion and dupe reports to put an ETA on the -U matter in the solution to the main issue, e.g. "The next release solving this issue should be downloadable with -U in two or three months. In the meantime, manually reinstalling using the nightly builds will work, or you can update with pip or use yt-dl (etc)"
@tutacat commented on GitHub (Feb 23, 2023):
It appears to have broken between versions 2021.1.16 and 2021.02.04
Here is the diff for youtube.py at that version https://github.com/ytdl-org/youtube-dl/compare/2021.01.16..2021.02.04#diff-0f24619cf9483f3bea670bba396939af35ea780edba90bb9d96ab20aae43386f
It is fixed in git, but not in release. For now you will have to download the python source installer, until the new release (newer than 2021.12.17) is set and distributed. For now, if you require pip or other package install, you could use 2021.01.16, but latest is probably better.
@udippel commented on GitHub (Feb 23, 2023):
Me neither. What does it matter, if it works?
On 23 Feb 2023 11:54 p.m., "gittieandpete" @.***> wrote:
@zaphida commented on GitHub (Feb 23, 2023):
I think the number of duplicates and comments on this issue should tell you
why it matters.
On Fri, 24 Feb 2023, 10:35 am udippel, @.***> wrote:
@udippel commented on GitHub (Feb 23, 2023):
Crazy. I show the syntax that helped me solve the problem on Linux. And
instead of DOING it, someone asks for an explanation of the particulars of
arguments of a command line.
Especially with so many duplicates, 250+ posts, why do you consider it
relevant to explain the arguments passed to pip instead of just TYPING
those few commands (copy and paste!), and hopefully having it ready, back
at work?
On 24 Feb 2023 12:37 a.m., "zaphida" @.***> wrote:
@tutacat commented on GitHub (Feb 23, 2023):
Maybe people think "they should know how to install" but that would be besides the point of making it easier. Most probably have no idea about pip's git syntax either.
They might be referring to the fact that development builds might be more unstable, but either way things will break, and a project as complex and litigious as this shows it multiple times.
@RandomLive commented on GitHub (Feb 23, 2023):
I know next to nothing about what anyone has said here & I just want to know in dumber-than-layman's terms what the heck I have to do to fix the "extract uploader id" issue and/or how long I'd have to wait for youtube-dl to be patched if it hasn't already - if it has, how the heck do I update it
@zaphida commented on GitHub (Feb 23, 2023):
The git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl tells pip to install youtube-dl from the latest revision in this youtube-dl repository which you are commenting on an issue in. It's necessary to do this to change the unable to extract uploader id from an error into a warning and be able to download videos. Or you can install 2021.01.16, or try manually edit youtube.py as per https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1433470254
@zaphida commented on GitHub (Feb 23, 2023):
@RandomLive the easiest dumber-than-a-layman way of fixing the unable to extract uploader id issue is to simply install yt-dlp and use it instead of youtube-dl until a new release comes out which you will be able to update to automatically.
@RandomLive commented on GitHub (Feb 23, 2023):
Got pip sorted, got git+ sorted, done all the things and it still ain't working.
@zaphida commented on GitHub (Feb 23, 2023):
Post the verbose log as a code snippet of the git dev version trying to
download a video.
On Fri, 24 Feb 2023, 11:55 am RandomLive, @.***> wrote:
@RandomLive commented on GitHub (Feb 23, 2023):
No clue what part of this is the verbose log, heck if any of it is the right thing, but here you go:
[debug] System config: []
[debug] User config: ['-f', 'mp4', '-f', 'best']
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=-ZGlaAxB7nI', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 5.0.1-essentials_build-www.gyan.dev, ffprobe 5.0.1-essentials_build-www.gyan.dev
[debug] Proxy map: {}
[youtube] -ZGlaAxB7nI: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 1794, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@dirkf commented on GitHub (Feb 23, 2023):
As much as anyone knows.
@RandomLive commented on GitHub (Feb 23, 2023):
Dang, guess I need to find a different downloader in the meantime then...
Any good suggestions? Don't wanna mess with any more yt-dl stuff since I have no clue what I'm doing & am afraid of installing malware by using a dodgy alternative (classy I know, but this is my first proper PC so I'm being extra careful)
@dirkf commented on GitHub (Feb 23, 2023):
Why on earth are you looking at those old versions that were broken by YT 2021-12?
@gittieandpete, @RandomLive, @ToddAndMargo, @PeterGyger: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1441040428, as well as https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611 (or start again).
@Tectract commented on GitHub (Feb 23, 2023):
I was able to fix my version of youtube-dl with a manual hotfix, my way was a little different than the one listed here.
I went into file
~/.local/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py
and changed the line
to
because the indicated fix didn't work for me.
but I couldn't figure out how to recompile youtube-dl from within the pip3 install folder, because there is no setup.py there, so I'm calling it with:
python3 ~/.local/lib/python3.6/site-packages/youtube_dl/main.py
which isn't the most elegant solution, but works for now... I'm sort of locked to python3.6 on this machine so hopeful the eventually fix won't require 3.7 or higher....
@zaphida commented on GitHub (Feb 23, 2023):
I can only recommend yt-dlp. yt-dlg will give you a GUI (a graphical user
interface, point and click).
On Fri, 24 Feb 2023, 12:29 pm RandomLive, @.***> wrote:
@Tectract commented on GitHub (Feb 23, 2023):
I tried yt-dlp but it required python3.7 or higher so it was easier to do this hotfix for me.
@dirkf commented on GitHub (Feb 23, 2023):
You could have used the actual commit from yt-dl.
The final fix will be similar to this:
If you have to become admin to make a manual patch, ensure that you also run yt-dl (eg, with
--version) as admin after patching to update the compiled bytecode module: otherwise the program will mysteriously continue to behave as before even though the source code appears different. You don't need to do any other setup.@s1sw4nto commented on GitHub (Feb 23, 2023):
Yes, working, before I just uncomment.
@dirkf how to fresh install or upgrade? Just pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl
This will auto replace old source on site-packages directory ?
@ToddAndMargo commented on GitHub (Feb 23, 2023):
It is back!
youtube-dl --update
youtube-dl is up-to-date (2021.12.17)
$ youtube-dl --verbose https://www.youtube.com/watch?v=FaWRtkjJ8es
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=FaWRtkjJ8es']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.11.1 (CPython) - Linux-6.1.11-200.fc37.x86_64-x86_64-with-glibc2.36
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2
[debug] Proxy map: {}
[youtube] FaWRtkjJ8es: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
^^^^^^^^^^^^^^^
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@dirkf commented on GitHub (Feb 23, 2023):
Use
python -m pipwherepythonis the Python that applies to your site-packages. Otherwise, yes, as discussed above. You might like to wait for the final fix.@ToddAndMargo commented on GitHub (Feb 24, 2023):
On 2/23/23 20:01, dirkf wrote:
Would you give me the full command line for
the pip command?
@PeterGyger commented on GitHub (Feb 24, 2023):
Hello
Win 10 and 11 has since one Week the same Error:
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug
I use the newest Version direct from GitHub.
Since two years i use the same Batchfile to download Videos from YouTube. And since one week i get this error.
Is yt-dlp the new "youtube-dl"?
Can somebody help?
@dirkf commented on GitHub (Feb 24, 2023):
The final fix for the problem in the issue has been merged, but I'll leave this open for now in case it helps to attract uncertain reporters.
@ToddAndMargo, @PeterGyger, @jcubic, @stefanb, @RnRJohnny: read the thread.
@RandomLive: update yt-dlp whenever you need, but discuss it there.
@RandomLive commented on GitHub (Feb 24, 2023):
Update: got yt-dlp working - I'm assuming I just run the -U command once a day to keep it in check?
@jcubic commented on GitHub (Feb 24, 2023):
@dirkf to update the version I have on my system do I need to clone the repo and build the project.
youtube-dl -Udoesn't work:@dirkf commented on GitHub (Feb 24, 2023):
No.
@stefanb commented on GitHub (Feb 24, 2023):
Should a new release be made?
Currently the latest release is https://github.com/ytdl-org/youtube-dl/releases/tag/2021.12.17
See https://github.com/ytdl-org/youtube-dl/releases
@PeterGyger commented on GitHub (Feb 24, 2023):
Hello
When i use "yt-dlp.exe" it works
Details:
CMD or terminal:
C:\Users\peter\Downloads\yt-dl>youtube-dl https://www.youtube.com/watch?v=EIouvSWaFgM
[youtube] EIouvSWaFgM: Downloading webpage
[youtube] EIouvSWaFgM: Downloading player 9419f2ea
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
C:\Users\peter\Downloads\yt-dl>yt-dlp.exe https://www.youtube.com/watch?v=EIouvSWaFgM
[youtube] Extracting URL: https://www.youtube.com/watch?v=EIouvSWaFgM
[youtube] EIouvSWaFgM: Downloading webpage
[youtube] EIouvSWaFgM: Downloading android player API JSON
[youtube] EIouvSWaFgM: Downloading player 9419f2ea
[info] EIouvSWaFgM: Downloading 1 format(s): 315+251
[download] Destination: “Master of Puppets” (Metallica) Jazz Cover by Robyn Adele Anderson [EIouvSWaFgM].f315.webm
[download] 4.2% of 959.89MiB at 5.50MiB/s ETA 02:47
One odr two weeks ago, youtube-dl works finde. Now i have to check the Parameter for "yt-dlp.exe".
Not exact the same...
@jcubic commented on GitHub (Feb 24, 2023):
Ok, but I don't want to use the fork, I want to use youtube-dl. Can a new release be created, if the code was updated?
@StandardV commented on GitHub (Feb 25, 2023):
seem like the problem persisted with youtube-dl, tried updating it with pip since I installed it with pip, no luck!
@udippel commented on GitHub (Feb 25, 2023):
Where did you install it? Are you sure that you are running the updated
version, not the previous one? (Also see my post further up).
On 25 Feb 2023 8:38 a.m., "V21" @.***> wrote:
@StandardV commented on GitHub (Feb 25, 2023):
Took a while to get my raspberry on but I'm quite positive I got the right one for the update, tried uninstall and reinstall it to verify if it's the right one as well but it keep giving the same problem.
Edit: I've added the verbose in the above comment, perhaps the way to fix rn is to go to yt-dlp :(
@LVMH-Daeriss commented on GitHub (Feb 25, 2023):
Thanks to you, this line help me for YouTube-dl on my discord bot :)
@RnRJohnny commented on GitHub (Feb 25, 2023):
I need a Windows build, unfortunately.
@KylePavone commented on GitHub (Feb 25, 2023):
Thanks a lot
@jduckett commented on GitHub (Feb 25, 2023):
I followed all of the instructions to update via pip and github. still not working
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'KmAkZYY8o3I']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.6 (CPython) - Linux-5.19.0-32-generic-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] KmAkZYY8o3I: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/duck/.local/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/home/duck/.local/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/home/duck/.local/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/home/duck/.local/lib/python3.10/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/home/duck/.local/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@timelot commented on GitHub (Feb 26, 2023):
Thank you, found it in line 1794
@udippel commented on GitHub (Feb 26, 2023):
Careful. I tried on *buntu 22.04; snap and apt, but didn't get any updated version. So back to my trusted pip install.
YMMV
@kmonar commented on GitHub (Feb 26, 2023):
This worked, thank you! In my case it was in line 1794.
@dirkf commented on GitHub (Feb 26, 2023):
@jduckett, the error log is well known. Let us know the result of
type youtube-dl, the exact command(s) that you used to update, and, if you can recall, how your yt-dl was originally installed.@udippel commented on GitHub (Feb 26, 2023):
Don't know what you did. Though had the same here, also on Linux. Problem here: I installed as user, that is under HOME.
$ youtube-dl ...brought the error, again.Then, explicitly, I did
from then on it worked.
Tried again, pip uninstall . And after install
would point to /usr/bin
After
everything was okay, and
would point to the version installed through pip
@hubhacs commented on GitHub (Feb 26, 2023):
I still get the error as it seems many others also do. Appreciate the work the authors do, but still annoying when software does not work. I now installed yt-dlp. It works, and for my use there is no difference in syntax so no learning curve :) https://github.com/yt-dlp/yt-dlp
@jcubic commented on GitHub (Feb 26, 2023):
So is this the solution, stop using your project and start using a fork?
@buckley310 commented on GitHub (Feb 26, 2023):
If you can't wait for an official release from this project, there are a few solutions mentioned already
Primarily:
pip install --upgrade git+https://github.com/ytdl-org/youtube-dl.git@master@jcubic commented on GitHub (Feb 26, 2023):
@buckley310 Thanks for the command, I didn't see this before, I think I've missed this. I'm wondering how this is related to this issue #31585.
@dirkf commented on GitHub (Feb 26, 2023):
As I wrote:
@dirkf commented on GitHub (Feb 26, 2023):
yt-dlp
@dirkf commented on GitHub (Feb 26, 2023):
Questions about yt-dlp belong there.
@udippel commented on GitHub (Feb 26, 2023):
Almost OT: Something to be learned from this: Versioning. It must be always clear, which precise version of a software one is running.
[debug] youtube-dl version 2021.12.17
is less than helpful when a dozen different packages have this same label.
Why do I mention it? I'm confident that there'd be 100+ posts fewer, if people could see what they're actually running. People with the ERROR run something different from what they think they're running. And one can't blame them.
I had the same problem, see above, with snap on *buntu as well as pip.
@rickytmp commented on GitHub (Feb 26, 2023):
I'm having the same issue here. Using youtube-dl version 2021.12.17
@fbientrigo commented on GitHub (Feb 26, 2023):
This worked like a charm
@LVMH-Daeriss commented on GitHub (Feb 27, 2023):
Hi! Yes you need to change manually your youtube-dl.py
@LVMH-Daeriss commented on GitHub (Feb 27, 2023):
Can you show me your error ?
@udippel commented on GitHub (Feb 27, 2023):
Anyone good at scripting?
If I were as fluent as I used to be 10+ years ago, I'd volunteer to offer a script that 'find's the youtube-dl.py.
Then it'd 'regex' the line, to see if it is the old one.
If so, saved the file as youtube-dl.py.old, and
'regex'ed the line to be changed, and modified it as needed.
A more simple sub task would be to just provide a checker that people can run to see if their version is the patched one.
I'm confident, that could reduce traffic pretty much here.
Any takers?
@jcubic commented on GitHub (Feb 27, 2023):
@udippel I've tried to edit the youtube-dl file but I think it is a pyc file (but I'm not sure how I've installed the tool). It has a shebang at the beginning and the rest is a binary blob.
@dirkf commented on GitHub (Feb 27, 2023):
@jcubic, just follow the suggestions in the link from the issue Description FFS. You have a single file installation: update it with the equivalent nightly build.
What @udippel suggests is easy in POSIX:
That's a Python module installation (from pip, apt, etc) with a tiny (<1kB) executable script to invoke it.
Whereas a
youtube-dlof >1MB is a self-extracting single file installation, like jcubic's (I bet).@udippel commented on GitHub (Feb 27, 2023):
My bad, then. Haven't even started; was just picking up from some comments further above, where people suggested a 'manual edit'. The old IT-guy in me thought "well, then let's simply run a script over it!".
@udippel commented on GitHub (Feb 27, 2023):
Njet. This gives you the one currently in PATH. See my comment above. With pip on *buntu (and no su) I get two installs. That's why I started my proposal with 'find'. Never trust PATH. Because then we'll see heaps of comments popping up here "But I installed .." In order to help from here, we have to see all potential installs. Especially, since many have already started to explore remedies, and might have a bunch of installs; apt, snap and pip give you three already.
You ARE right, that a very simple version could just extract the date of the one in PATH, and flag to the user that (s)he is still running the old one.
@dirkf commented on GitHub (Feb 27, 2023):
Once you know which installation type you have, pick the appropriate update; in the "tiny" case, run
head -1on the executable script and use the Python mentioned to run pip, in case you have several.@Cloud9Developer commented on GitHub (Feb 27, 2023):
tried updating, removing and re-installing with pip and still getting this error.
@udippel commented on GitHub (Feb 27, 2023):
I bet you don't!
Open a command prompt and show us the output of
$ ls -l $(which youtube-dl)
@Cloud9Developer commented on GitHub (Feb 27, 2023):
I don't doubt it's a user error, just can't see what I'm doing wrong lol
@udippel commented on GitHub (Feb 27, 2023):
Next, you'll do
$ /usr/local/bin/youtube-dl -F https://youtu.be/9Opj6dppDbo
please.
@Cloud9Developer commented on GitHub (Feb 27, 2023):
NOTE: I installed yt-dlp (https://github.com/yt-dlp/yt-dlp/wiki/Installation) and this is working great! youtube-dl doesn't though, so not sure. I'll continue providing updates to fix it here though if you'd like
@udippel commented on GitHub (Feb 27, 2023):
Thanks.
Since I don't have the slightest clue about the inner workings of youtube-dl, only came here because mine wasn't working, I pass this thread to a developer, to ponder why a command that works perfectly okay here doesn't work over there.
My version, btw., is dated Feb 26 12:15
My suggestion of further up may be considered to be withdrawn. cph015 has demonstrated that my initial assumption was wrong.
@dirkf commented on GitHub (Feb 27, 2023):
cph015's verbose log indicates a single file self-extracting executable but the executable appears to be 209 bytes instead of 1837828. This is strange. Should yt-dlp not be preferred, cph015 should expunge all signs of youtube-dl and install a nightly build, or the new release when available.
@Cloud9Developer commented on GitHub (Feb 27, 2023):
Yeah, I noticed the sizing as well, but assumed it did some installation somewhere else since the command looked to be running until it threw an error. I'm fine with yt-dlp since it's working, just been using youtube-dl for a few years now
@udippel commented on GitHub (Feb 27, 2023):
... and so is mine, and it WORKS!:
As I wrote, I don't have the slightest clue about youtube-dl.
Though something seems to be very confused here!
@dirkf commented on GitHub (Feb 27, 2023):
A zip archive with a top-level
__main__.pyis a valid Python script. The POSIX self-extracting build is just a big zip of the program like that appended to the appropriate Python shebang. This fails in newer macOS with no Python, and in Windows, unless a Python has also been installed in either case. The former (soon) and the latter need a special build that also includes a minimal Python (so is much larger).The short script installed by package managers (including pip) is a wrapper from pip/setuptools that invokes an installed youtube_dl package, specifically loading the
youtube-dl"entry-point" from theconsole_scriptsgroup of theyoutube-dl==2021.12.17package:@udippel commented on GitHub (Feb 27, 2023):
That's obvious, but doesn't help us any further in the 'forensics'. If it is not the wrapper that is missing the update (though you assumed it was faulty with its 209 Byte), then we'd need help to point out which file in a package-install actually contains that updated line
'uploader_id': self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id', default=None),??
Then we'd have to likewise check for the timestamp / content of THAT file. And respectively (auto)edit or replace that file.
@udippel commented on GitHub (Feb 27, 2023):
Never mind. Now we know the size of 209 is totally okay.
I do agree fully with @dirkf, that once you have a machine completely free of remnants of any previous youtube-dl install, and you issue the pip command, it will work. In your case, I am sure there is still an old file lying around, and is used, or not updated, or whatnot, and therefore the new patch just isn't installed, or not called up.
Also here, the developers need to provide a complete list of files that pip and / or any other package manager might have installed.
Then, if you still wanted, you could clean your machine from any relics of previous youtube-dl-s and start with a clean slate.
@mbytescs commented on GitHub (Feb 27, 2023):
The solution suggested by @nicolaasjan above does work, if running with youtube-dl simply do the following:
/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor(you may be running another Python version)cp youtube.py youtube.py.savein case you mess it up@dirkf commented on GitHub (Feb 27, 2023):
Don't do that. Also, your experience will only apply to a subset of users.
Use the fixed version as explained in the post linked from the Description.
@ToddAndMargo commented on GitHub (Feb 27, 2023):
On 2/27/23 17:56, dirkf wrote:
So far
youtube-dl -Usays I am on the latest:'(
@Mortagne commented on GitHub (Feb 27, 2023):
Error with the latest version with brew under OSX Ventura 13.2.1 (22D68)
❯ youtube-dl --ignore-config -v -F Re3jwNS6pPA [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--ignore-config', '-v', '-F', 'Re3jwNS6pPA'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Git HEAD: 4d0154fa7 [debug] Python version 3.11.2 (CPython) - macOS-13.2.1-arm64-arm-64bit [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2 [debug] Proxy map: {} [youtube] Re3jwNS6pPA: Downloading webpage ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) ^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) ^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex raise RegexNotFoundError('Unable to extract %s' % _name) youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.@slmingol commented on GitHub (Feb 27, 2023):
Confirmed that manually patching this file
/opt/homebrew/Cellar/youtube-dl//2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/youtube.pywith this string fixed it:@ChituSR commented on GitHub (Feb 28, 2023):
self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id', default=None),
This had solved the issue.
@dirkf commented on GitHub (Feb 28, 2023):
@ToddAndMargo: the post linked from the Description, as you can't be bothered to scroll back and follow the link.
@cwy3 commented on GitHub (Feb 28, 2023):
I have experiencing this issue when I am using Udacimak which is built on top of youtube-dl... therefore, I do not have a choice to use yt-dlp. My Udacimak and youtube-dl are both installed using npm and homebrew, I think the repository linked to there is not yet updated.
@dirkf commented on GitHub (Feb 28, 2023):
Sure. Nonetheless, use the instructions linked from the Description to update the packaged installation until a release or nightly build reaches the dependent repo.
@ToddAndMargo commented on GitHub (Feb 28, 2023):
On 2/28/23 04:49, dirkf wrote:
Removed the direct youtube-dl
Installed the rpm from the repo
$ rpm -qa youtube-dl
youtube-dl-2021.12.17-4.fc37.noarch
It is the same version as I had before
ERROR: Unable to extract uploader id;
No symptom change.
Maybe I missed something in "the post linked from
the Description" that I could not be bothered
to scroll to?
@cwy3 commented on GitHub (Feb 28, 2023):
It seems like Udacimak on npm has a "youtube-dl" build inside itself that recursively pulled from the npm repo, I am not an expert of how npm works... it is located in the path:
"/usr/local/lib/node_modules/udacimak/node_modules/youtube-dl/bin/youtube-dl"
I tried to replace the file from here which you provided above, but it doesn't work. I think because I am running a mac instead of linux? And my pip setup is kind of broken at the moment, that's not an option. @dirkf please kindly advice, many thanks.
@txemaromero commented on GitHub (Feb 28, 2023):
Dear contributors,
Please, could you update the .exe file (https://yt-dl.org/latest/youtube-dl.exe) with the correction?
Thank you. Regards,
@jorge-fonestar commented on GitHub (Mar 1, 2023):
Hi! Next error is happening to me on Ubuntu:
myuser@mypc:~$ youtube-dl https://www.youtube.com/watch?v=PHvQe7IyeQM
[youtube] PHvQe7IyeQM: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
youtube-dl -v is as follows:

Hope it could be usefull
@udippel commented on GitHub (Mar 1, 2023):
Start reading this thread at the top, and follow the instructions written there. This is a solved problem, alas as of now not being totally easy on the side of the user.
Read and follow carefully.
If it still doesn't work, read my postings, I'm also a *buntu user, on how to continue.
Once you have done all of that, show us the responses of your system, and I'll try to help you further.
@dirkf commented on GitHub (Mar 1, 2023):
@cwy3, ideally, get npm to update its yt-dl build from one of the sources suggested.
Otherwise, if
/usr/local/lib/node_modules/udacimak/node_modules/youtube-dl/bin/youtube-dlwas an executable file of 1.8MB, and you replaced it with a nightly build like https://github.com/ytdl-patched/youtube-dl/releases/download/2023.02.28.810/youtube-dl:python3, pipe the download through this POSIX shell script{ printf '#!%s\n' "$(type python3 | cut -d' ' -f3)"; sed -r -n -e '/^#!/ {n; }; p'; }to update the downloaded file, egcat downloaded_file | braced_script > updated_file(or create a symlink on your
$PATHnamedpythonto your Python)youtube-dlis marked executable:chmod a+x ..., as described for installing a release version in the Manual.Although new macOS may come without any Python, I assume that you have one since your yt-dl was previously running OK.
@crisdosaygo commented on GitHub (Mar 1, 2023):
I can't believe such an important tool is built on something so fragile as a regex of a server response...
@birdofprey commented on GitHub (Mar 1, 2023):
OS:
Debian Gnu/Linux 11.6
Python:
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
youtube-dl --version:
2021.12.17
commit its ok cool!!! tanks for you help!!!
@dirkf commented on GitHub (Mar 1, 2023):
@crisdosyago, see the quote diff above for why the fragility wasn't ignored. There are more than 800 extractor modules that almost all rely on regex matching. Basically, web pages and API responses are mutable, and yt-dl has to decide when to punt. This decision was mistaken:
@crisdosaygo commented on GitHub (Mar 1, 2023):
@dirkf my friend, I'm sorry that my comment seemed like it was attacking the great ytdl-org! Indeed it was not. I was expressing the craziness of how we ("the entire dev community as a whole") need to parse web pages by relying on such half-measures as regex, that are so fragile wrt to changes. I know it can be different, and I hope to make a difference but for now it will have to be like this. Crazy times! Thank you for your informative
git blameI'll look into it to know more! 😃@behrangsa commented on GitHub (Mar 2, 2023):
In case this might help:
@udippel commented on GitHub (Mar 2, 2023):
No, it doesn't. Read https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1449775721
Also @WafflesMcDuff.
@WafflesMcDuff commented on GitHub (Mar 2, 2023):
Same here:
I'm also having this problem. I thought I was doing something wrong.
I'm having the problem with this playlist; https://www.youtube.com/playlist?list=PLDuzvnRIfxZq2TXvS51lyVvVbmMZW3D32
@marhar commented on GitHub (Mar 3, 2023):
For anybody on mac, using brew's version of yt-dlp works.
brew install yt-dlp
@xk commented on GitHub (Mar 3, 2023):
This affects me as well, with version 2021.12.17. Here is some more information on the issue:
$ youtube-dl --verbose https://www.youtube.com/watch?v=Pg7MOv1oriE
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=Pg7MOv1oriE']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.11.2 (CPython) - macOS-10.13.6-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] Pg7MOv1oriE: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
^^^^^^^^^^^^^^^
File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@ToddAndMargo commented on GitHub (Mar 3, 2023):
Seems like the developers know what is causing this
and have a fix. But for some reason unbenosed to
the impatient amongst us (who me? NEVER!), they
are waiting to publish
@dirkf commented on GitHub (Mar 3, 2023):
Yes. Because you did not read the post. No YouTube downloads for you ...
@kkarhan commented on GitHub (Mar 3, 2023):
#31752 is a potential duplicate.
#31585 is linked to it.
@AndNovAtor commented on GitHub (Mar 4, 2023):
Sorry for offtopic and duplicate, but can somebody help, what I did wrong with Python installation.
When I tried in the past on my Win 10
pip install -U git+https://github.com/ytdl-org/youtube-dl, looks like again and again I got "old" version (so got "uploader id" error). And when today I first (second from Youtube changes) time usepip install -U --force-reinstall git+https://github.com/ytdl-org/youtube-dl, it's finally start workingIn https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247 was
#egg=youtube_dlparameter. I googled about this parameter (egg installation), but don't understand, why it was used in the comment (as I always usepip install -U git+https://github.com/ytdl-org/youtube-dlto update youtube-dl and it "always" worked [and for git+ installation master branch is default])@dirkf commented on GitHub (Mar 4, 2023):
@AndNovAtor, possibly if you've previously installed the same version (as seen by pip) from git,
--force-reinstallmay be needed.Without reading the code, I gather that the
#egg=...thing selects some additional optional setup from the package installed by pip. If it's meaningful in this case, possibly it's only for a brand new installation.@ibiCode commented on GitHub (Mar 5, 2023):
This patch will just hide the fatal error. You should better fix the search pattern to match the new URL structure:
@AntwanAbboud commented on GitHub (Mar 6, 2023):
How do i find where I'm supposed to make the changes that the fix suggested?
@gabrielmielo commented on GitHub (Mar 6, 2023):
I'm still getting this error, has it been found how to fix it?
@udippel commented on GitHub (Mar 6, 2023):
Read further up. Start at the very top.
@theseventhsneeze commented on GitHub (Mar 6, 2023):
Seems like it started happening when YouTube started sending out waves of invitations to claim channel IDs, which created new channel URLs like youtube.com/@usernaame
@AndNovAtor commented on GitHub (Mar 6, 2023):
I tried today --force-reinstall on Linux and Windows - all works for --dump-json...
A/B test again?
@udippel commented on GitHub (Mar 6, 2023):
I can confirm that the 'previous' fix (Feb. 26) still works here.
Try something else?
@terencecollins commented on GitHub (Mar 6, 2023):
... installing from git with force-reinstall *does* seem to solve the issue
I tried again:
pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl --force-reinstall
and it seems to be working, so perhaps my force re-install before went to the wrong path
Any others having experience similar to mine, installing from git with force-reinstall does seem to solve the issue. Thanks,
@dirkf commented on GitHub (Mar 6, 2023):
@AntwanAbboud, @AndNovAtor, as well as @gabrielsoaresgsm: take note.
Otherwise.
@hhgoten commented on GitHub (Mar 7, 2023):
Not for me : /lwd/video_audio > /usr/bin/yt-dlp -U
Latest version: 2023.03.04, Current version: 2022.10.04
Problem stays
/lwd/video_audio > /usr/bin/yt-dlp --verbose https://www.youtube.com/watch?v=jsETTn7DehI
[debug] Command-line config: ['--verbose', 'https://www.youtube.com/watch?v=jsETTn7DehI']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f27] (debian*) API
[debug] Python 3.10.7 (CPython 64bit) - Linux-5.19.0-35-generic-x86_64-with-glibc2.36 (glibc 2.36)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.1.1 (setts), ffprobe 5.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, pyxattr-0.7.2, secretstorage-3.3.3, sqlite3-2.6.0, websockets-10.2
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=jsETTn7DehI
[youtube] jsETTn7DehI: Downloading webpage
[youtube] jsETTn7DehI: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
ERROR: [youtube] jsETTn7DehI: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 672, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 3906, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 1224, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
@txemaromero commented on GitHub (Mar 7, 2023):
Thank you. Please, could you upload (update) the .exe file (https://yt-dl.org/latest/youtube-dl.exe)?
@programster commented on GitHub (Mar 7, 2023):
I just made sure to test completely removing youtube-dl, before installing through pip and it didn't work, before running that command to re-install from master through
pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl --force-reinstall, and it worked!Really looking forward to the relevant changes becoming generally available through the normal pip installation (e.g. not using git/egg).
@hhgoten commented on GitHub (Mar 7, 2023):
@txemaromero
https://github.com/yt-dlp/yt-dlp#release-files
yt-dlp_linux <<<< Linux standalone x64 binary
just used like youtube-dl and worked.
prompt:/tmp/yt-dlp_linux https://www.youtube.com/watch?v=jsxxxxxx
@wcndave commented on GitHub (Mar 7, 2023):
Sorry if this is a stupid question, however it says in the description "See below for ways to update to a fixed version of youtube-dl", however I don't see where that explanation is....
@dirkf commented on GitHub (Mar 7, 2023):
@wcndave,
"below" is an actual hypertext link: use it. Owing to GH idiocy, JS is required just to follow the link.
@dpastern commented on GitHub (Mar 8, 2023):
So, what about a fix for those of us using youtube-dl on Windows, having downloaded the windows binary direct from the website? Not using pip, etc, so can't force-install. It seems the new dev has dropped youtube-dl like a hot potato...
I don't want to have to fuck around with install from src, or a 3rd party installer like pip etc. I want to keep it simple. This is becoming very frustrating at how unreliable youtube-dl has become.
Not a happy camper. Yes, I know this is 'free software' and no guarantees made etc, but it's still shit "support". I honestly can no longer recommend this software.
@itagagaki commented on GitHub (Mar 8, 2023):
@dpastern I understand your feelings. I don't see why they don't release a modified binary as soon as possible either.
But there was a solution in this very very long thread.
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611
I download the exe from the fork (where it says example) and use it.
It works.
@nicolaasjan commented on GitHub (Mar 8, 2023):
There are still some things that have to be resolved.
Issue #30644.
@kkarhan commented on GitHub (Mar 8, 2023):
I guess the only valid option now is migrating to yt-dlp...
@dominiquehausser commented on GitHub (Mar 8, 2023):
Same problem on Ubuntu 22.10
youtube-dl --verbose https://youtu.be/fVgdWHYQv_E
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://youtu.be/fVgdWHYQv_E']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.7 (CPython) - Linux-5.19.0-1018-lowlatency-x86_64-with-glibc2.36
[debug] exe versions: ffmpeg 5.1.1, ffprobe 5.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] fVgdWHYQv_E: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@udippel commented on GitHub (Mar 8, 2023):
Isn't any longer.
Read further up. Start at the very top.
@wcndave commented on GitHub (Mar 8, 2023):
@dirkf
Yes, I clicked the link and it did nothing....
Today it seems to link to a comment by you, which says a) wait for package b) you're using pip, c) use something else...
I was kind of thinking there would be a fix like the other comment, to modify the code to remove the FATAL exception or something.
I didn't think the comment was related to the "here's how to fix it", as it didn't fix it... sorry...
I have now installed Python3 and yt-dlp, however perhaps the instructions/solution could be clearer.
For example, when can you use one of those single forked binaries, and what do you have to do to make that happen?
I assume that a windows user for example, can follow that link, download the .exe and replace their existing exe and it all just works?
@dpastern commented on GitHub (Mar 8, 2023):
yes, I ended up downloading the fork. I saw that, but I didn't expect that to be the "only" answer...
@dpastern commented on GitHub (Mar 8, 2023):
yeah, it appears so.,..and that's what I ended up doing.
@dirkf commented on GitHub (Mar 8, 2023):
The nightly builds offered by helpful downstream(s) include single file executables for both Windows and POSIX (Linux/macOS).
@Cheeseless commented on GitHub (Mar 8, 2023):
Ok, but why doesn't this repo publish new releases itself? Why do
downstreams have to provide them? Why hasn't the pull request that's
supposed to allow for new releases to happen not been merged yet?
On Wed, Mar 8, 2023 at 8:23 AM dirkf @.***> wrote:
@kousu commented on GitHub (Mar 8, 2023):
This worked for me too! I used a virtualenv to help make sure the from-source install wouldn't get mixed up.
Broken version
Working Version
It's kind of wild that this didn't beak for a year and a half. Good job, youtube-dl team :)
@woodandwireware commented on GitHub (Mar 8, 2023):
I just wanted to say thank you to the developer(s) of this module. I have been using for a while and it broke re the extractor ID as several have noted. I searched and came up with a trail here. I am a NOVICE python user and was figuring out how to update the module so my code would work. I'm sure this is not proper but for those dabblers like myself this worked. Afterdownloading the yt-dip-master, I copied the files from the yt_dlp folder to my local python site-packages, backed up my original file set in youtube_dl and dropped in the Github set. Closed and re-opened Thonny and boom, it worked beautifully! Many thanks!!
@papel commented on GitHub (Mar 8, 2023):
Hello. I see it was fixed 2 weeks ago. When will the new version with the fix be released?
I tried
youtube-dl -U
but the version is old
youtube-dl is up-to-date (2021.12.17)
@dpastern commented on GitHub (Mar 8, 2023):
I don't think that they'll fix youtube-dl anymore. It's just getting the ignored treatment now.
It seems that Youtube-dl won't be updated and will just be ignored by the dev now. Probably best to grab yt-dlp. I see someone (probably the dev) is hiding my comments now. Man, this is fucked. Complain about stuff that's broken and you get silenced.
I'm outta here. The new devs are fucking shit.
@MdeLv commented on GitHub (Mar 9, 2023):
Side question (so I don't open a new issue for that)
Hi
As already mentioned here : Same issue on debian 11, solved with the mentioned procedure and installation of the debian package
python-is-python3.1/ Reading this very long page, I understand that the root cause may be a change in the yt page. Is it correct ?
Or what is the root cause of this problem?
2/ About this file
youtube-dlIs it not supposed to be a python READABLE auditable program???
This is a key question.
3/ Why is there so many issues with this software? (3.8k)
What are the main causes ? (e.g. yt page structure changes, error in specification, error in implementation...)
@bitzspider commented on GitHub (Mar 9, 2023):
The forked yt-dlp is working for me. The youtube-dl version is still not working.
Until the previous version is fixed, may want to try the forked version for now.
https://github.com/yt-dlp/yt-dlp
@verybluebot commented on GitHub (Mar 9, 2023):
bitzspider Can you share please which installation you used? Also, which version? (last release? build from master etc)
EDIT:
Used
yt-dlp version 2023.03.04Installed using pip
python3 -m pip install --no-deps -U yt-dlpWorks like a charm
@caldodge commented on GitHub (Mar 9, 2023):
My thanks - due to this, I was alerted to yt-dlp, and it's downloading videos which youtube-dl errored out on.
Bonus: when using the "-f N" option, yt-dlp is orders of magnitude faster than youtube-dl was.
@dirkf commented on GitHub (Mar 9, 2023):
It must be, because that's the first line of the 2nd paragraph of the Description.
See FAQ.
From a duplicate issue:
This could, depending on the tool used to edit the file and the installation type, result in a non-functional
youtube-dlexecutable.And see my post above from 1 March that GH makes it difficult to find (no pagination, no in-issue search, really hopeless) for a script, or use a package like python-is-python3, or make a symbolic link.
Feel free to help triage the open, mostly historical, issues, mostly to do with changes in website structure.
yt-dl git master downloads at roughly the same speed as yt-dlp.
@wcndave commented on GitHub (Mar 9, 2023):
In contrast to some (only some) other comments, I want to thank all contributors for this software which has been super helpful for many years, which I have used for free, whilst still asking questions and time of others, and which has also laid the foundations for various branches which may offer newer options, and is all maintained by volunteers.... It's all free time, and I thank you all.
@joeldcanfield commented on GitHub (Mar 9, 2023):
Flailed around trying to get the homebrew version working, but this, as mentioned above, worked for me:
pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl --force-reinstallI have used and loved youtube-dl for quite some time. Thanks to all who support it.
@ReenigneArcher commented on GitHub (Mar 9, 2023):
Use this action to auto close stale issues (and PRs). https://github.com/actions/stale
It can help a lot with popular projects like this where users don't respect standard GitHub etiquette. I can share an example use case if you need one.
I'd also suggest opening up GitHub discussions and directing users there for questions and support. Issues should be reserved for true bug reports.
P.S. I really hope you can sort out the release issues soon. I really couldn't care less about all the binaries, I personally just need a new release published to PyPi. Installing from git is not the best idea for those managing project dependencies with Dependabot. We like to know exactly when our dependencies change as it helps narrow down issues.
@jcubic commented on GitHub (Mar 9, 2023):
@ReenigneArcher it will not help if people keep commenting on this issue. They would need to stop for a while before the action will close the issue. Unless you talk about other issues. I always think this is really rude to close an issue that no one commending on for a month. I've seen people reopening by hand what action is closing and making it even worse.
@ReenigneArcher commented on GitHub (Mar 9, 2023):
@jcubic It's not meant to close issues that are active, like this one. I use it in my repos, and close after 100 days. They're given a 10 day notice that they need to comment or it will close so developers can focus on active issues. If they can't be bothered to check in, within a 100 day period the issue gets closed.
The fact is 3k issues is too overwhelming for the development team on any project.
@dirkf commented on GitHub (Mar 9, 2023):
It's not important if old issues hang about, as long as problems that people care about, by commenting on them with up-to-date test cases, get fixed. Obviously it would be possible to close all currently open issues every time a release is made ("old version"). Personally I find it quite unhelpful if maintainers (ffmpeg, eg) take that attitude, even if I understand why.
Currently,
I think this is not unreasonable.
@NicTanghe commented on GitHub (Mar 10, 2023):
Hello, I'm on RHEL9 and did a manual installation of the latest version just now.
youtube-dl is up-to-date (2021.12.17)youtube-dl https://www.youtube.com/watch?v=Fa0FoYQvhyc
[youtube] Fa0FoYQvhyc: Downloading webpage
ERROR: Unable to extract uploader id;
@udippel commented on GitHub (Mar 10, 2023):
What is a 'manual installation'? Don't answer. Just go to the very top here, and start reading. Not much of a problem to install a working version in Linux.
@thomaswardiii commented on GitHub (Mar 10, 2023):
Take a look at your version again. That's well over a year old, being from December of 2021.
@udippel commented on GitHub (Mar 10, 2023):
We discussed this further up. It is a misery, but that's how it is: The patched version comes with the same date.
@ToddAndMargo commented on GitHub (Mar 10, 2023):
Hi All,
Whilst I wait for the new release of youtube-dl,
I installed the Firefox add-on called "Easy Youtube
Video Downloader Express" and it does work with MP4
720P
-T
@WafflesMcDuff commented on GitHub (Mar 11, 2023):
Yep. They've marked comments of anyone who is referring to alternative forks that are being maintained and are working as off-topic, out-of-date, or abuse. Absolute garbage way to behave. They haven't released an update in over a year and somehow that's on us?
@dirkf commented on GitHub (Mar 11, 2023):
The recommended upgrade methods including forks or downstreams are listed in the post referenced from the Description. It's well known that the released yt-dlp works: there's no need to say so again. Apart from unofficial nightly builds, a problem with a fork should be raised there. Feel free to fork the project and comment there if you don't want your off-topic, misleading, obsolete or abusive comments hidden.
For avoidance of doubt, though I thought it was clear in the Description, there is no ability or plan to make a manual release: an unofficial nightly build is as close as you can get for now. An automated release will be made when that works.
@Cheeseless commented on GitHub (Mar 11, 2023):
Could you please, for the sake of resolving the current issue, create a new release that includes the fixes that have been made. In your own recently updated documentation regarding bug reporting, you still recommend using
youtube-dl -U, so a release to make that a real troubleshooting step again would be massively helpful. Please publish the release manually if #31585 isn't done yet.@Cheeseless commented on GitHub (Mar 11, 2023):
Wait, no ability or plan? You must have a truly excellent reason for that, and I can't wait to hear it, because if you don't that is extremely troubling.
Please explain, as directly as possible, why there is no plan to make a manual release in light of the fact that automated builds are not currently available and require additional development work.
What would you lose by making a manual release that is worth continuing to deal with the current wave of reports of the same exact issue that would, with zero doubt, be solved by providing the update to
youtube-dl -U?@zaphida commented on GitHub (Mar 11, 2023):
Please explain, as directly as possible, why there is no plan to make a
manual release in light of the fact that automated builds are not currently
available and require additional development work.
On Sun, 12 Mar 2023, 2:49 am Pedro Bento, @.***> wrote:
@amirsaleem1990 commented on GitHub (Mar 12, 2023):
Worked for me.
Ubuntu 20.04
python: 3.8.10
youtube-dl: 2021.12.17
@nicolaasjan commented on GitHub (Mar 12, 2023):
@amirsaleem1990
That's not the real fix.
It was fixed with the merging of pull request #31675 two weeks ago.
So, just compile from current source.
@adampasternak commented on GitHub (Mar 12, 2023):
Could somebody please compile for windows users and place in the /latest subdir, to capture this latest change? I'm checking the link for the .exe now and it has a last-mod date from 2021
@dirkf commented on GitHub (Mar 12, 2023):
@adampasternak, use a nightly build (still has the previous release date but tell-tale additional build information is shown), as linked from the Description.
@geoidesic, you aren't actually reading the instructions, and indications are that you didn't properly read the Description, from which the instructions are linked.
@geoidesic commented on GitHub (Mar 12, 2023):
I don't know if this is fixed. I tried today and got the following (with the latest version):
@geoidesic commented on GitHub (Mar 12, 2023):
your
How? The instructions tell us this:
How would I
use a nightly build?@geoidesic commented on GitHub (Mar 13, 2023):
@dirkf ok but then:
I tried adding the foundry box's public ssh key to my GitHub account but that didn't help. Here's the command I ran:
@zaphida commented on GitHub (Mar 13, 2023):
Run using sudo
On Mon, 13 Mar 2023, 9:17 pm Noel da Costa, @.***>
wrote:
@geoidesic commented on GitHub (Mar 13, 2023):
@zaphida ok but then I get this:
(though it does install and solves the problem; no-one likes to be let off with a warning ;)
@dirkf commented on GitHub (Mar 13, 2023):
If your yt-dl was installed with a package manager that needed admin, a pip command to update the module will need the same.
If you want to install from the master code without git, you can use a source archive provided by GH: see the blog post linked from the instructions and/or pip documentation.
@zaphida commented on GitHub (Mar 13, 2023):
You need to have git installed. sudo apt install git or the equivalent
for your distro.
On 13/03/2023, Noel da Costa @.***> wrote:
@shlomiv commented on GitHub (Mar 15, 2023):
Experiencing this as well. Is a fix planned to arrive at a
brew-ableyoutube-dl?@AdelleBernal commented on GitHub (Mar 15, 2023):
Same problem here.
@dirkf commented on GitHub (Mar 15, 2023):
Why not ask in the brew-ery? Unlike yt-dlp, yt-dl doesn't have any interface (technical or otherwise) to it.
@shlomiv commented on GitHub (Mar 15, 2023):
I don't know all these details, like what is the brewery and where to ask. I know that as a user I experienced this error, it asked to look for a bug before I post my own, and ask there, which I did :)
If you'd like to point me to that place, I'll happily ask there.
By the way, when executing
youtube-dl -U, is this also through the brewery? Or should this work straight out of here? I also tried thecurlmethod, but results did not change..@Vangelis66 commented on GitHub (Mar 15, 2023):
https://brew.sh/
..."happily" ask them below to package
youtube-dlfrom a recentmaster branchcode snapshot instead of from last (but now deprecated) tagged release (as a new one isn't imminent - not yet, at least...):https://github.com/Homebrew/discussions/discussions
@shlomiv commented on GitHub (Mar 15, 2023):
Here, happily asked, without the sarcastic quotes.
Would you be so kind as to answer the last question above as well?
I don't mind not using brew, but curl didn't seem to do the job either.
Update:
Tried from a nightly, which seem to have worked fine. I guess I'd update your curl in the following way:
For others looking for the solution, the above snippet seems to install a working version.
@Vangelis66 commented on GitHub (Mar 15, 2023):
... I was NOT being sarcastic 😄, just "quoted" the very adverb you chose to use yourself 😉 (as I don't feel generally "elated" when I have to report bugs to app authors 😄 ) ...
FWIW, I'm an exclusive Windows user, so can't be of much further help to you; a MacOS user should jump in, if possible...
No; but it shouldn't apply to you, because you did install initially via a package manager (Homebrew); FWIW, the description in OP clearly states:
Curlmethod? If it fetches latest official release, then it won't do; you'd have to somehow install from latest source instead...Edit: As I was typing this, I saw you "solved" your issue by fetching an unofficial "daily/nightly" release; might want to try below URI,
https://github.com/ytdl-patched/youtube-dl/releases/latest/download/youtube-dlwhich would always fetch the latest build (instead of a specified one) at the time the command is run...
Regards.
@dirkf commented on GitHub (Mar 15, 2023):
Well, yes, that implements one suggestion in the linked instructions.
As above, yt-dl knows nothing about brew, unless packaging it for brew were to include a patch to the code that runs on
-U.@shlomiv commented on GitHub (Mar 15, 2023):
Thank you @Vangelis66! I will certainly try the URI you posted. I did first remove the brew installation before installing the curl one, so I guess it kinda applied to me.
Sorry if I misinterpreted your intention by quoting. Without hearing your tone or seeing your face it seemed, to me at least, as being sarcastic. Mainly because I am, sincerely, happy that I can report a problem and talk about it directly with a maintainer. It beats going through google on my own in the worst case, or talking to a support agents who can't always help in a better case.. Being able to talk to you directly, as a user experiencing a problem, is delightful.
Thank you both for maintaining this very useful software, and being approachable by us peasants ;)
@Vangelis66 commented on GitHub (Mar 15, 2023):
... But I (Vangelis66) am not actually a maintainer of this project 😜 , actually not a coder either... dirkf is currently the ONLY person actively involved in maintaining it, after the previous team practically quit (see also here) ...
I'm just a self-taught, semi-advanced
youtube-dluser on Windows and I (as well as a few other volunteers) jump in occasionally to lend a helping hand of sorts in triaging issues...The sole person currently involved in this (open source and free) project has literally become overwhelmed with dealing with a flood of (mostly entitled) issue reporters, having his pinned issue(s) and/or issue templates completely disregarded by reporters and, when it comes down to it, people generally harbouring aversion to self-help practices and/or following already posted guidelines to rectify their issues...
So yes, at this point, "politically correct" choice of wording may suffer at times... Every issue reporter thinks he/she is unique and his/her particular problem is also unique (not addressing you here, just describing the general trend 😉 ) ...
If you'd care to browse more than 200 duplicate issues in this very tracker, then, perhaps, you'd start realising how impossible the task of properly maintaining this project can get...
As a fellow user, glad you got your issue sorted 👍 ...
Best regards.
@shlomiv commented on GitHub (Mar 15, 2023):
Thank you @Vangelis66, for taking this up and helping the community.. I can imagine how difficult it is to maintain such a widely used product, and how nerve wracking it may be to deal with this many users, especially when some may feel entitled and not understand the magnitude of dedication maintaining a project is, especially widely used open-source, where you can't hire more more help or even get paid yourself..
Lastly, thank you @dirkf for keeping up the fort for all of us to benefit! Sorry if your response went over my head initially, you are right that the solution was given by you previously, and I missed it.. I really do appreciate your hard work!
@kkarhan commented on GitHub (Mar 16, 2023):
The only winning move is to migrate to yt-dlp has been abandoned.
@martinsvoboda commented on GitHub (Mar 16, 2023):
Thank you for this thread. I was wonder why so big deal to create new release. I came accross to #30568 and #31535 and I hope I understand. @dirkf decided to support old unsupported versions of python and probably this is reason why is not possible to use continuous integration to build and release new version.
Thats pity because packaging systems (like brew, apt etc..) would upgrade to new version and some users would be satisfied. And we don't have to waste time to commenting this issue and move on. Unfortunatelly isn't common to use nighty builds (master checkout) for these packaging tools. The package should be stable and clearly versioned.
I don't know reasoning why to support old python versions. @dirkf probably has his reasons. Honestly I can't imagine how much energy and time it must take to triage comments and reply, why a new version is not released etc... I would humbly advise you to reconsider this decision, it's just way to lose users and abandon development.
@ReenigneArcher commented on GitHub (Mar 16, 2023):
Supporting Python 2.x has nothing to do with the ability to use CI or not. I'm probably one of the few people who still need support for Python 2.7, so hopefully this continues to be supported.
You are correct. yt-dlp has had a pretty sharp increase in GitHub stars since this issue has come about.
It appears there hasn't been a single release since maintenance was handed over. I'm sure it's very overwhelming and stressful to maintain a project like this. @dirkf do you need help in the devops area? There's plenty of people here willing to help. I have a lot of experience with GitHub actions and automation if you need help.
@RonenR commented on GitHub (Mar 16, 2023):
FYI - I just encountered the same issue with youtube-dl (v-2021.12.17) installed through homebrew (on Mac), while there is no issue with an older version of youtube-dl (v-2020.12.17) installed directly (on Linux). So, seems to be a homebrew issue - (but it would seem it's not because of a not-updated youtube-dl, but something else unknown.)
@Vangelis66 commented on GitHub (Mar 16, 2023):
... And there has been development from the Homebrew team:
https://github.com/orgs/Homebrew/discussions/4329#discussioncomment-5329468
(PR https://github.com/Homebrew/homebrew-core/pull/125804 has now been merged) ...
For MacOS users, please "digest" what has been said there:
As I'm not a MacOS user myself, don't know whether you first need to update your Homebrew version for
brew install --HEAD youtube-dlto become functional... But if/when it is, it will rid you of the ERROR mentioned in this issue's title 😉 ...@ahmadmysra commented on GitHub (Mar 16, 2023):
I have encountered the same error.
using version 17/12/2021 installed through pip 22.3.1 python 3.11.2 on windows 8.1
@dirkf commented on GitHub (Mar 16, 2023):
@ReenigneArcher, @martinsvoboda, others waiting for a release: https://github.com/ytdl-org/youtube-dl/issues/31585#issuecomment-1472881851.
@yaroslavyaroslav commented on GitHub (Mar 17, 2023):
In addition to that. If you are wishing to use this utility within some another software like IINA player and therefore have a restriction for a execution file name you can do follow (macOS/LInux only):
which yt-dlp->/opt/homebrew/bin/yt-dlpln -s /opt/homebrew/bin/yt-dlp /opt/homebrew/bin/youtube-dl/opt/homebrew/bin/And viola it just works.
@ToddAndMargo commented on GitHub (Mar 17, 2023):
On 3/17/23 05:53, Yaroslav wrote:
yt-dlp is in the Fedora Updates repo and it work
rather well.
dnf install yt-dlp
("#" means as the root user.)
@saynaAhmadi commented on GitHub (Mar 17, 2023):
در چهارشنبه ۸ مارس ۲۰۲۳، Dominique Hausser @.***>
نوشت:
@vibbrations commented on GitHub (Mar 17, 2023):
this worked for me
@chenrui333 commented on GitHub (Mar 18, 2023):
While waiting for the new release, I think we have resolved the issue in the homebrew side, can someone test it out and confirm the fix? Thanks!!
@dirkf commented on GitHub (Mar 18, 2023):
If I understand the script, you've implemented
github.com/ytdl-org/youtube-dl@2dd6c6edd8as a patch. This should prevent the crash, while not returning the affected metadata: see https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1436130288.See also https://github.com/ytdl-org/youtube-dl/issues/31585#issuecomment-1475042434.
And @jannisberry.
@zaphida commented on GitHub (Mar 19, 2023):
It's not a crash. The program exits when it encounters the unable to
extract the uploader id error, as intended. Though IMO it should be a
warning not an error, so it doesn't exit, because the uploader id is not
necessary to download the media.
On Sun, 19 Mar 2023 at 13:03, dirkf @.***> wrote:
@dirkf commented on GitHub (Mar 19, 2023):
That's a crash. The exit was unintended.
Extractors shouldn't fail on optional extraction. The extractor method used to search defaults to raising an exception, which can be appropriate for media links and (traditionally)
title, but must be overridden for optional metadata extraction.@RonenR commented on GitHub (Mar 19, 2023):
I'll be happy to. Please let me know - which part do I need to update and how to do so.
@tensionhead commented on GitHub (Mar 20, 2023):
So I installed via pip from the actual master branch as recommended, but I am still getting
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader idAs at the top of this issue it says "the issue is solved" I wonder how exactly 😕Maybe I should give yt-dlp a try?!
EDIT: yep, yt-dlp get's the job done!
@jcubic commented on GitHub (Mar 20, 2023):
I've used
pip install 'git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl'since the hash is a comment in bash, not sure if it's needed but it will be ignored when not using quotes. And this works fine.@joyboy67 commented on GitHub (Mar 20, 2023):
Same issue
@AAbdullah1918 commented on GitHub (Mar 20, 2023):
So any update on when this issue will be fixed? Not too keen on using sus websites to download music
@Matthew0x commented on GitHub (Mar 21, 2023):
->The problem, which was revealed by a change in the metadata served by YouTube, applied to both https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1433230848 and https://github.com/yt-dlp/yt-dlp/issues/6247 and has been fixed in both programs
Could you elaborate on how exactly "both" programs were fixed, if the last release of youtube-dl was in 2021?
I ended up downloading yt-dlp, which worked with no problems. This post is a bit misleading...
EDIT:
To keep it simple. The official repo has an old release. That release shows up as the newest in OS repositories.
OS repositories are another topic, but if an RPM/DEB is available and they have the same version as the official release, yet that release is 2 years old and broken then I believe something is wrong/suboptimal.
Judge it however you wish. I simply believe that installing/downloading custom scripts, binaries every time to update something makes little sense (although it seems to be python in this case). I personally use AppImages, FlatPaks, RPMs, tars with .sh.
The main difference is - I know the publishers or they are managed by the OS. An average user will probably always pick a managed package or an isolated app rather than a script or raw binary. Especially if that package seems up to date.
Again, that's just an inconvienience in my opinion and the old release number makes the whole situation slightly more weird.
@ReenigneArcher commented on GitHub (Mar 21, 2023):
Source code was fixed; however no release has been published which contains the fix.
@dirkf commented on GitHub (Mar 21, 2023):
How misleading is that?
Also @Matthew0x.
@Magendanz commented on GitHub (Mar 27, 2023):
Still seeing this issue:
@lwbt commented on GitHub (Mar 28, 2023):
Thanks.
Should be a bit easier to reconstruct from examples on https://pypa.github.io/pipx/examples/ and you get the benefits of pipx. Requires pipx, but from my point everyone should use it and stop worrying less.
@dirkf commented on GitHub (Mar 28, 2023):
pipx can only be installed for Py>=3.7, even if it might hide various XKCD-1987-style issues, user vs system, etc, by using venv under the hood. Installation guidance for yt-dl targets the supported platforms without additional tools.
@visjble commented on GitHub (Mar 28, 2023):
The pip install 'git...' did install but still giving errors, here is the verbose:
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . `
@dirkf commented on GitHub (Mar 28, 2023):
Obviously you didn't replace the yt-dl that runs when you type
youtube-dl. If you try to update in this way and still get this error afterwards, only the upgrade log is of interest, together with the command that failed, which you omitted.From the trace that you did show, you have an old installation in
/usr/local/binthat needs to be nuked.@fuzzylogical commented on GitHub (Mar 28, 2023):
it is a little weird that you have a YoutubeDL.py file there instead of a binary handling everything since that means you built from source.
personally what I did was I downloaded yt-dlp and did a
ln -s ytdlp youtube-dlin the /usr/local/bin so that it would soft replace youtube-dl there and I moved youtube-dl to youtube-dl.old so that I would still have an old copy if I wanted to revert@jannisberry commented on GitHub (Mar 29, 2023):
Hi, had the same issue on my mac and running it with -i didnt change anything. But reinstalling with brew and running with -i makes it work and instead of an error its now a warning but still showing it. That fixed it for me.
@denisys271 commented on GitHub (Mar 29, 2023):
same problème , on Linux.
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=insXlpEtt_c', '-f', 'mp4', '-o', 'Community_Manager_01.mp4']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.6 (CPython) - Linux-5.15.0-56-generic-x86_64-with-glibc2.35
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] insXlpEtt_c: Downloading webpage
[youtube] insXlpEtt_c: Downloading MPD manifest
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@LanternCode commented on GitHub (Mar 29, 2023):
@dirkf I had the single executable file for a while now, and I wanted to keep it that way, so I tried your solution with the braced script, but it sadly did not work. The following error occurred:

Could this be OS-related? Windows 11 here.
@dirkf commented on GitHub (Mar 29, 2023):
Don't do that. The script applies to a POSIX environment. You want an unofficial nightly build for Windows (obviously enough), a completely different species, not subject to the problem that the script addresses.
Or use Windows Subsystem for Linux which for practical purposes is a POSIX-compliant Linux OS. You probably don't want to do that.
@gramo44 commented on GitHub (Mar 29, 2023):
I'm getting the same error with 2021.12.17 version running on a Linux Mageia 8 fully updated. I've also checked video availability.
$ youtube-dl -U
youtube-dl is up-to-date (2021.12.17)
$ youtube-dl --verbose https://youtube.com/live/3tAUmLTWB_s
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://youtube.com/live/3tAUmLTWB_s']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.14 (CPython) - Linux-5.15.18-desktop-2.mga8-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.3.5, ffprobe 4.3.5
[debug] Proxy map: {}
[youtube:tab] live: Downloading webpage
[youtube] 3tAUmLTWB_s: Downloading webpage
[youtube] 3tAUmLTWB_s: Downloading m3u8 information
[youtube] 3tAUmLTWB_s: Downloading MPD manifest
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@bert2002 commented on GitHub (Apr 1, 2023):
Hi,
same error message here:
@alexchandel commented on GitHub (Apr 2, 2023):
tldr for homebrew users:
brew reinstall youtube-dl@rxerium commented on GitHub (Apr 2, 2023):
I've just encountered this issue after installing youtube-dl for the first time. I'm using Ubuntu 20.04. Thanks
@nicolaasjan commented on GitHub (Apr 2, 2023):
Read the Description at the top of this page.
@HauHocCode commented on GitHub (Apr 2, 2023):
i am getting this error can anyone help me to fix it. Sincere thanks.
raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@vonProteus commented on GitHub (Apr 2, 2023):
as far i understand, right now you have to run youtube-dl from git sources to have this fixed
it this correct?
@dirkf commented on GitHub (Apr 2, 2023):
@vonProteus, @HauHocCode:
Exactly.
No.
@Warthog1 commented on GitHub (Apr 3, 2023):
I don't want to use a nightly build or fork, I trust this repository and I don't want to use yt-dlp. I'm not using a python install, I'm using the .exe from the most recent release. How can I just replace the youtube.pyo file with this updated code and recompile it as a .exe?
@dirkf commented on GitHub (Apr 3, 2023):
That won't won't work because other files on which
extractor/youtube.pydepends have changed since 2021-12. Use a nightly build: you can review the commits to check that the file is built from our code.@symbolicEmm commented on GitHub (Apr 4, 2023):
Obviously has not been solved anywhere.
I've removed, installed and updated youtube-dl and yt-dlp multiple times on my slackwareOS system to no avail.
Quite frustrated with seeming complacency considering the number of eyes on this Shituation report.
@shmoun commented on GitHub (Apr 4, 2023):
The Description link you quote in your message has all the information, please read it closely.
@symbolicEmm commented on GitHub (Apr 4, 2023):
The complaint is that this report with its description is marked as "solved" when it evidently is not.
@dirkf commented on GitHub (Apr 4, 2023):
What you mean is that you don't care for the solutions so far proposed, no? Feel free to operate your own fork of the project to offer a different solution.
@symbolicEmm commented on GitHub (Apr 4, 2023):
Okay Cathy Newman. This response provides all the clarity I need.
@moueza commented on GitHub (Apr 5, 2023):
youtube-dl -F http://www.youtube.com/watch?v=3JZ_D3ELwOQ
[youtube] 3JZ_D3ELwOQ: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
$ youtube-dl --version
2021.12.17
$
@moueza commented on GitHub (Apr 5, 2023):
https://levelup.gitconnected.com/fix-error-unable-to-extract-uploader-id-3fad389322a7
@daBee commented on GitHub (Apr 6, 2023):
Somehow solved using
Python. I cannotnotPython, so I cannot comment:https://stackoverflow.com/questions/75495800/error-unable-to-extract-uploader-id-youtube-discord-py
@mbvgtfr commented on GitHub (Apr 7, 2023):
git clone https://github.com/ytdl-org/youtube-dl
pkg install zip
pkg install pandoc
make
~/youtube-dl/youtube-dl "https://m.youtube.com/playlist..."
@schneems commented on GitHub (Apr 8, 2023):
This worked for me, but later the bug came back. Re-running the command continues to solve the issue, but I'm unsure why it needs to happen repeatedly and why re-running the command does to fix the issue.
@dirkf commented on GitHub (Apr 8, 2023):
Are you sure you're not just seeing the
WARNINGthat remains in the patched version to let you know that theuploader_idwasn't extracted? Otherwise, raise the problem in the linked thread for brew.@ahmadmustafaanis commented on GitHub (Apr 9, 2023):
Still available with pip installation
@samejima-san commented on GitHub (Apr 9, 2023):
i had to use the following command 'brew services restart php' and that solved my issue
@neumond commented on GitHub (Apr 10, 2023):
Little hack if you've installed current master from git to fix uploader id issue and encounter
TypeError: Object of type LazyList is not JSON serializableyoutube_dl/utils.py, near line 1850:@dirkf commented on GitHub (Apr 10, 2023):
@neumond
This should have been fixed in master, but there was another way for a lazy fragment list to escape. If an error like this is seen with a version at commit
fe7e130or later, please report it with verbose log in #31999.@neumond commented on GitHub (Apr 10, 2023):
Isn't
213d1d91bfc4a00fefc72fa2730555d51060b42dthe latest version?from pip freeze:
@IS4Code commented on GitHub (Apr 11, 2023):
Strangely the version 2020.11.21.1 seems to work.
@EwoutH commented on GitHub (Apr 11, 2023):
Same issue, youtube-dl version 2021.12.17.
@dirkf commented on GitHub (Apr 11, 2023):
It's not strange that this error isn't seen since the failing code was added in
67299f23d8, 3 months after that release. However 2021.12.17 fixes #30603 which broke the YT extractor a few weeks earlier; if that isn't happening with the earlier version it's just luck that YT is not currently sending signature functions that the extractor can't handle. And the earlier version is way obsolete for many other sites/extractors.Again, use the suggested update procedures.
@Ethanol6 commented on GitHub (Apr 11, 2023):
The readme says to install using pip with
sudo -H pip install youtube-dl. Following the upgrade instructions in this thread to update from the master branch with this commandpip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dldid not work. In fact it says the same version is already installed - youtube-dl-2021.12.17.Using the command
sudo -H pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dlalso tells me the requirement is already satisfied - youtube-dl-2021.12.17.Uninstalled everything with
sudo -H pip uninstallandpip uninstallthen reinstalled withThe version is still youtube-dl-2021.12.17 but now it seems to be working.
@GabrielNagy commented on GitHub (Apr 12, 2023):
@dirkf I've opened a follow-up PR at #32032 as I still get errors with
--print-jsoneven with the latest master. Probably not the correct way to do it but it fixes things for me, let me know what you think. Thanks@Mercerenies commented on GitHub (Apr 12, 2023):
Good heavens, this is the most comprehensive and detailed summary of "here's how to work around this and here's which forks are currently functioning" I've ever seen. Kudos to everyone maintaining this issue and all of the workarounds! You all turned what would've been a few hours debugging into literal seconds.
@davidawad commented on GitHub (Apr 14, 2023):
I just came upon this issue today, running the latest version.
I solved this by downloading
yt-dlpand not thinking about this issue any further.@dotHTM commented on GitHub (Apr 14, 2023):
reinstalled from homebrew on an up to date Ventura macOS. I'm located in the USA if region is still considering, but this is Brodyquest...
@dirkf commented on GitHub (Apr 14, 2023):
Obviously not, or the broken yt-dl is somehow in a different universe from the one updated by brew. Show how you tried to update, eg
brew reinstall youtube-dl, or ask brew support.Also check https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1500999577.
@jaderxnet commented on GitHub (Apr 14, 2023):
I tried doing this to update youtube_dl:
!pip install --upgrade --force-reinstall youtube_dlAs a result I had the log below, but it didn't work as a solution.
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/ Collecting youtube_dl Using cached youtube_dl-2021.12.17-py2.py3-none-any.whl (1.9 MB) Installing collected packages: youtube_dl Attempting uninstall: youtube_dl Found existing installation: youtube-dl 2021.12.17 Uninstalling youtube-dl-2021.12.17: Successfully uninstalled youtube-dl-2021.12.17 Successfully installed youtube_dl-2021.12.17I do not understand. Is the fix done but not available to apply? Will it only be applied in a next release with no set date to be released? If there is anything I can do today, please be more clear and direct with the answer. This Description and the posting rules do not help in solving the problem.
@dirkf commented on GitHub (Apr 14, 2023):
Please read the update advice again. pip needs a URL that points to this repo as shown in various examples posted here. Otherwise special instructions wouldn't be needed.
Or uninstall your package version and install an unofficial nightly build.
@jaderxnet commented on GitHub (Apr 15, 2023):
It worked for me:
!pip install git+https://github.com/ytdl-org/youtube-dl.git@masteror
!pip install --upgrade --force-reinstall git+https://github.com/ytdl-org/youtube-dl.git@masterPlease put something like this in the Description @dirkf , it's more efficient for everyone to understand.
@dirkf commented on GitHub (Apr 16, 2023):
Examples like this are in the post about updating via pip that is linked from the "TLDR" update post linked from the Description. To avoid requiring git, use the zip download offered from the "<> Code>Download ZIP" pull-down on the main page, but changing the extension to .tar.gz.
@paulrougieux commented on GitHub (Apr 17, 2023):
Fixed the issue for me.
@IvanZadorozhniy commented on GitHub (Apr 17, 2023):
It also helped me
@JoaoGFarias commented on GitHub (Apr 18, 2023):
This fixed the problem for me on Arch Linux.
@spkahle1243 commented on GitHub (Apr 19, 2023):
I have the most recent version of youtube-dl as can be seen here:
C:\Users\usr\AppData\Local\FoundryVTT\Data\my information\DM Images\Youtube Audio Downloader>youtube-dl -U
youtube-dl is up-to-date (2021.12.17)
Then using the following command, I get the following error:
C:\Users\usr\AppData\Local\FoundryVTT\Data\my information\DM Images\Youtube Audio Downloader>youtube-dl -f ogg https://www.youtube.com/watch?v=kUESqvDzEr0&list=PLumzb_XznlTGfzCqgG86xdOS7ayMgOSzx&index=4
[youtube] kUESqvDzEr0: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
'list' is not recognized as an internal or external command,
operable program or batch file.
'index' is not recognized as an internal or external command,
operable program or batch file.
@navdeepghai commented on GitHub (Apr 20, 2023):
having same issue
@vanavata commented on GitHub (Apr 21, 2023):
I'm running the latest version of youtube-dl 2021.12.17 (on Windows 10 LTSC x64) but getting "ERROR: Unable to extract uploader id" when executing:
youtube-dl --skip-download --write-sub --sub-lang en https://www.youtube.com/watch?v=PBsjggc5jHMyt-dlp 2023.03.04 works with no problems using the same command-line options above...
@MarshCastle commented on GitHub (Apr 21, 2023):
Same issue:
Running Debian 11:
--verbose output...
@navdeepghai commented on GitHub (Apr 21, 2023):
@MarshCastle
They have moved the lib to https://github.com/ytdl-org/youtube-dl, check it out, it's working for me.
@benjibasson83 commented on GitHub (Apr 22, 2023):
Hi
In fact there is no fix neither any solution to resolve the fact that YouTube dl doesn't work for YouTube
Checklist
Verbose log
Description
Hi
pip install --upgrade --force-reinstall git+https://github.com/ytdl-org/youtube-dl.git
Collecting git+https://github.com/ytdl-org/youtube-dl.git
Give
pip install --upgrade youtube-dl give
Requirement already satisfied: youtube-dl in /data/data/com.termux/files/usr/lib/python3.11/site-packages (2021.12.17)YouTube dl doesn't work for 3 mounth and there is zero solution. Zero fix although in this forum it is printed it has been fixed and that there is a 2023's update
Please give me the fix for
@dirkf commented on GitHub (Apr 22, 2023):
@MaraJadeLives
The Description at the top of the issue leads you to a solution.
@creativecomposer commented on GitHub (Apr 23, 2023):
Yes intalling/reinstalling using homebrew works. The
unable to extract uploader idmessage still appears, but now it is a warning instead of error and the video download was success.Thanks a lot for the fix! 🙏
@MaraJadeLives commented on GitHub (Apr 23, 2023):
I also am getting this error, but it's not on all videos. You devs are awesome, though, because a lot of the youtube downloader sites are pretty sketchy.
@MaraJadeLives commented on GitHub (Apr 23, 2023):
I am now using dlp and it works for me.
@benjibasson83 commented on GitHub (Apr 23, 2023):
Using dlp? Hahaha this channel is yourube-dl. Not the fork's one.
Please an update.
@MaraJadeLives commented on GitHub (Apr 23, 2023):
I was using your package, then I swapped to that fork.
On Sun, Apr 23, 2023 at 12:35 PM benjibasson83 @.***>
wrote:
@MarshCastle commented on GitHub (Apr 23, 2023):
You guys are amazing.
Yt-dlp is working here also
https://github.com/yt-dlp/yt-dlp
Thank you.
@holms commented on GitHub (Apr 23, 2023):
So why this repo doesn't release the latest builds anymore? Why we stuck in 2021??
@iloudaros commented on GitHub (Apr 24, 2023):
I am trying to update, using homebrew, but the latest available version there is
2021.12.17.@iloudaros commented on GitHub (Apr 24, 2023):
reinstalling fixed the issue
@benjibasson83 commented on GitHub (Apr 24, 2023):
Reinstalling doesn't fix any issue because reinstalling is always
reinstalling 2021.12.17 instead of 2023.04.24!
we are many (more than fingers of hands) to complain about it.
Please make available update because
https://yt-dl.org/downloads/latest/youtube-dl is always
2021.12.17 https://yt-dl.org/downloads/2021.12.17/youtube-dl (sig
https://yt-dl.org/downloads/2021.12.17/youtube-dl.sig)
SHA256: 7880e01abe282c7fd596f429c35189851180d6177302bb215be1cdec78d6d06d
@dirkf commented on GitHub (Apr 24, 2023):
For problems with package managers like homebrew where an update command is suggested here, report any problems using the package manager's support system, but please post a link or quote of any non-trivial solution here.
To expand, it should be obvious but, with 425 comments here already, don't even think of posting anything like these
ERROR, notWARNING); make sure you are updating the right yt-dl; see the previous point;Posts, or new issues, like any of these examples may be marked as spam or just deleted.
@wereretot commented on GitHub (Apr 27, 2023):
Same issue here
@YesItsTheRealIvoie2006 commented on GitHub (Apr 30, 2023):
'uploader_id': self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id', default=None),line 1794 in youtube.py
replacing it with that fixed my issue , thanks , should be committed to master , thank you @nicolaasjan for the fix!
@nicolaasjan commented on GitHub (Apr 30, 2023):
@YesItsTheRealIvoie2006
That fix is now outdated.
It was fixed with the merging of pull request #31675.
Use the suggested methods as linked from the Description .
@CodeKraft commented on GitHub (May 1, 2023):
Sofar nothing, still doesn't work, tried the update and it says I am using the up-to-date version and still keep seeing comments about the problem is fixed, if it were then the -U would update the software and it doesn't
Its been like this for nearly 5 weeks, so is this going to be fixed or are we all going to have to pay youtube to download video?
@MarshCastle commented on GitHub (May 1, 2023):
This worked for me:
If you run it in your home dir, you can run it using ./bin/yt-dlp
It:
- creates the ~/bin dir
- downloads yt-dlp and puts it in the folder
Worked for me like a charm. Hope it does the same for you :D.
1 May 2023 23:08:35 Mark @.***>:
@CodeKraft commented on GitHub (May 2, 2023):
the suggestion doesn't work.
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ./bin/yt-dlp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Warning: Failed to create the file ./bin/yt-dlp: No such file or directory
0 2682k 0 16375 0 0 17773 0 0:02:34 --:--:-- 0:02:34 17773
curl: (23) Failed writing body (0 != 16375)
@MarshCastle commented on GitHub (May 2, 2023):
Warning: Failed to create the file ./bin/yt-dlp: No such file or directorydid you do the first line
mkdir ./bin?this is suggesting that it cant write the file to your disk. it's only downloading it. Maybe if you just download it to your home dir to start with and test it. Try using:
you can then:
ls -l yt-dlpto see if it's there.If it is you there you'll need to make it executable (so you can run it:
chmod u+x yt-dlpmakes it executable for the useryou can check that by listing the file in it's long form:
ls -l yt-dlp- you should see an x in the 4th slot on the left (i.e. -rwx at he start of the lineonce that's there you can run it. You'll have to declare that it's in 'this' directory with a ./, ie:
./yt-dlp https://www.youtube.com/watch?v=aKRYQsKR46I(maybe use your url instead of mine ;))Let me know how it goes...?
@CodeKraft commented on GitHub (May 2, 2023):
Didn't work, all I get is garbage
�{PK!(��6� �{PK!(����\�yt_dlp/extractor/onefootball.pyUT�Qm8ux �{PK!(0������ԉyt_dlp/extractor/onenewsnz.pyUT�Qm8ux �{PK!(���2����yt_dlp/extractor/oneplace.pyUT�Qm8ux �{PK!(1��� u&���yt_dlp/extractor/onet.pyUT�Qm8ux �{PK!(�b\�K� ��w�yt_dlp/extractor/onionstudios.pyUT�Qm8ux �{PK!(d&�,� S'���yt_dlp/extractor/ooyala.pyUT�Qm8ux �{PK!(��{)h��,�yt_dlp/extractor/opencast.pyUT�Qm8ux �{PK!(�Ru! �!����yt_dlp/extractor/openload.pyUT�Qm8ux �{PK!(�L���h��n�yt_dlp/extractor/openrec.pyUT�Qm8ux �{PK!((���6 ����yt_dlp/extractor/ora.pyUT�Qm8ux �{PK!( ���[�M���yt_dlp/extractor/orf.pyUT�Qm8ux �{PK!(��]>�����yt_dlp/extractor/outsidetv.pyUT�Qm8ux �{PK!(���^�*��"�yt_dlp/extractor/packtpub.pyUT�Qm8ux �{PK!(@D���g��C�yt_dlp/extractor/palcomp3.pyUT�Qm8uxthen ...
$ ls -l yt-dlp
ls: cannot access 'yt-dlp': No such file or directory
Given up, I only updated the last time around for the latest version and the devs broke it... When are they going to fix it?
@CodeKraft commented on GitHub (May 2, 2023):
Why are they not releasing the fix then? Its not at all helpful to say the least.
Found a website to download the files, maybe when the yt-dl devs stop mucking about, I might hoop jump and have a care.
@YesItsTheRealIvoie2006 commented on GitHub (May 2, 2023):
Ok so it appears that something is very wrong in your copy of youtube.py
Heres my WORKING copy of youtube.py and how to patch:
Replace the file located in
C:\users\%username%\appdata\roaming\python\<-yourpythoninstall->\site-packages\youtube_dl\extractor\youtube.pyin my case that is :
C:\users\ivoie\appdata\roaming\python\python311\site-packages\youtube_dl\extractor\youtube.py(Note , if you are running Linux or MacOS it will be installed in a diffrent path, you need to locate your python install to apply this to the faulty file)with the following file in the zip below:
youtube.zip
(Note : I had to zip the file as github doesnt support me uploading py files directly , the sha-256 is
fff35244cc8e978ba4aa1698336c6194fd323656ff3ca3d6d373014708e1a79b)this .py file IS CONFIRMED WORKING (1 MAY 2023) and has my patch implimented
Best of luck to you @CodeKraft
@Rqbln commented on GitHub (May 2, 2023):
That's amazing, thanks a lot :)
@MarshCastle commented on GitHub (May 2, 2023):
Maybe they have kids to feed and have to prioritise sometimes..?
@CodeKraft commented on GitHub (May 2, 2023):
They released an update that ultimately cause the issue, so why not just offer the ability to roll back? Not rocket science you know.
Seems to me over the 20 years I have been using Linux that there is never ever a roll back function to revert to the previous working install, its one way forward and if all goes to S**t then sit and wait until someone can be bothered to work out where the devs went wrong.
@paulrougieux commented on GitHub (May 2, 2023):
Please upvote @dirkf 's solution in one of the hundreds of comments above:
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247 Unfortunately, that comment is hidden in the default view when reading this issue. It will hopefully pop-up if the suggestion works and people up-vote it.
I'm sorry to read messages from all the persons who keep repeating the same questions. The version number was not updated since "2021.12.17", but a force reinstall to the latest code in this git repository works.
@p6002 commented on GitHub (May 3, 2023):
So youtube-dl project is no longer supported?
@hellofaduck commented on GitHub (May 8, 2023):
Updating directly from
curl -L https://yt-dl.org/downloads/latest/youtube-dlwasnt helpful to me on my linux machine, but if I install it on my Mac through brew, it prints the same error but it works! strange...@dirkf commented on GitHub (May 8, 2023):
@hellofaduck, in your spam
Read the tldr; (apparently even that was "too long" for you) to explain what you thought you saw (you didn't exactly).
@benjibasson83 commented on GitHub (May 8, 2023):
dirkf
Please put the tldr instructions and update at the right place that means
here http://ytdl-org.github.io/youtube-dl/download.html
(apparently even that was "too long" for you) to explain where you thought
you write (you didn't exactly).)
Le lundi 8 mai 2023, dirkf @.***> a écrit :
@kfird214 commented on GitHub (May 8, 2023):
Seems like the patter should just change to
/(?:channel|user)/([^/?&#]+)Now youtube probably does somthing like
www.youtube.com/@<user>instead of www.youtube.com/user/<username>@TimHoepfner commented on GitHub (May 9, 2023):
Like @paulrougieux said, reinstall youtube-dl and just ignore the same version info.
On my Mac I've fixed it with homebrew
@Riveascore commented on GitHub (May 12, 2023):
Installing from github directly yielded a version that no longer errors for me:
@antboy commented on GitHub (May 14, 2023):
Just a note about dirkf's solution
If your temp directory is on a RAM "disk" rather than a hard disk, the git clone will fail as the RAM disk does not retain ownership details and git objects as it finds this suspicious.
I had to capture the git clone command output as info and manually edit it to specifiy a temp directory on the hard disk instead, then run the edited command then run the pip install from the new clone directory.
@dirkf commented on GitHub (May 14, 2023):
Or your temp directory has the wrong permissions?
Also, in a POSIX shell, override a suspect temp directory:
@CaneRandagio1983 commented on GitHub (May 15, 2023):
this works for me #31530
@jfrickmann commented on GitHub (May 15, 2023):
Same problem here:
@d-pletikapa commented on GitHub (May 16, 2023):
Have the same issue:
`Fedora Modular 38 - x86_64 - Updates 30 kB/s | 18 kB 00:00
Installed Packages
Name : python3
Version : 3.11.3
Release : 1.fc38
Architecture : x86_64
Size : 33 k
Source : python3.11-3.11.3-1.fc38.src.rpm
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://youtu.be/Z7wUyXJSHnk', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.11.3 (CPython) - Linux-6.2.15-300.fc38.x86_64-x86_64-with-glibc2.37
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0
[debug] Proxy map: {}
[youtube] Z7wUyXJSHnk: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
^^^^^^^^^^^^^^^
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
youtube-dl -U
youtube-dl is up-to-date (2021.12.17)
`
@CaneRandagio1983 commented on GitHub (May 17, 2023):
read #31530
@cdwijs commented on GitHub (May 17, 2023):
I have the same issue on Arch linux:
[cedric@cedric overflow]$ youtube-dl --verbose https://www.youtube.com/watch?v=y4pHyqiK4u4
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=y4pHyqiK4u4']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.11.3 (CPython) - Linux-6.3.1-arch2-1-x86_64-with-glibc2.37
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] y4pHyqiK4u4: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@jfrickmann commented on GitHub (May 18, 2023):
According to the following, it has been fixed in Master, and there is a temporary fix that worked for me:
https://stackoverflow.com/questions/75495800/error-unable-to-extract-uploader-id-youtube-discord-py
@benjibasson83 commented on GitHub (May 19, 2023):
The 'temporary' fix witch duration is over weeks or mounth....
The fix has to be here to prevent spam
http://ytdl-org.github.io/youtube-dl/download.html
If youtube-dl is given up for yt-dlp, admin has to anounce here
http://ytdl-org.github.io/youtube-dl/download.html and here
https://youtube-dl.org/
Le vendredi 19 mai 2023, Jesper Frickmann @.***> a
écrit :
@paulrougieux commented on GitHub (May 19, 2023):
@benjibasson83 nice instructions at http://ytdl-org.github.io/youtube-dl/download.html I see
curlis the preferred method, but some persons like to install python packages with pip. Thepip installcommand needs to be changed to this one:The argument
--force-reinstallis needed because for an unknown reason, the authors stopped releasing youtube-dl on the python package index pypi (last version is from 2021. I could speculate some reasons, but it's better to leave it to your own imagination). The question of the new release is discussed at https://github.com/ytdl-org/youtube-dl/issues/31585 The pip install instruction with--force-reinstallhas been explained many times in the thread above and people should upvote posts that provide instructions such as this comment by @dirkf. Unfortunately that comment is folded inside the hidden items. @Shituation could you please add thepipinstruction with--force-reinstalldirectly in your original question? No need to cite me, it's not my idea anyway.@dirkf commented on GitHub (May 19, 2023):
No, it's already linked from the Description. Owing to execrable website design by GH, hidden items aren't accessible without JS enabled (but at least it's not GitLab). To alleviate this, the issue could be closed/locked and a new one created, but I'm not going to do that now.
A simple link navigation leads to the proposed solutions: users who are able to understand the program functionality and documentation should be able to follow the links.
@Shituation commented on GitHub (May 20, 2023):
I'm closing this since I keep getting emails with people commenting here and I simply cannot remember what the issue was or what was my use scenario at the time; it was probably fixed already so I also don't understand why the issue is still open.
Thanks to the dev team.
@Vangelis66 commented on GitHub (May 20, 2023):
... And you'll continue getting e-mail notifications unless you unsubscribe yourself from this issue thread 😉 :
Regards 😄 ...
@Shituation commented on GitHub (May 20, 2023):
I know that, I was pointing out that the issue was solved and:
1- Nobody from the dev team closed it.
2- People are still commenting over the solved issue for no reason.
@symbolicEmm commented on GitHub (May 20, 2023):
My eyes are on this thread because none of the solutions slash suggested interim python upgrades have worked for me on my slackware15 system.
The issue will most likely be truly resolved when a new version is published.
@Vangelis66 commented on GitHub (May 20, 2023):
I believe this was done so it still appears as
Openwhen "new issue" submitters search (very few of them, sadly) among the Open issues list (since close to 0 search among theClosedones 😡 ) for an existing open issue with the same/similar error message, in an attempt to reduce duplicates creation; unfortunately, this has not resulted in fewer dupes posted 😞 ...@dirkf commented on GitHub (May 20, 2023):
@Shituation, please unsubscribe as I'd like to keep this open while the released version isn't yet fixed (I think that was mentioned way back but ...).
It hasn't resulted in 0 dupes. The reaction count for OP shows that plenty of people are finding the issue.
@symbolicEmm "none of the suggested update methods work for me".
@Ron030363 commented on GitHub (May 20, 2023):
The college students has turned the internet into a data source arranged as cancer, making it hard for me to understand TECH talk. Maybe they think I am jealous of college students having a college education and I did not
@Shituation commented on GitHub (May 20, 2023):
I just saw this at the start of the issue:
This issue is solved: read the Description below
@dirkf commented on GitHub (May 20, 2023):
Apologies, as you can see, the actual bug is fixed but the fix isn't yet rolled into a release. I had to rewrite your issue to point people at the interim solutions.
@Ron030363 commented on GitHub (May 20, 2023):
Can someone please tell me how to fix yt-dlp without the internet canccer intelligence the college students has created. This concerns the: unable to extract uploader ID. Don't make learning difficult.
@dirkf commented on GitHub (May 20, 2023):
@Ron030363: #30839 "If you were actually running yt-dlp, ..."
@hsohn commented on GitHub (May 25, 2023):
youtube-dl is still reporting the "unable to extract uploader id" error. It does kick off the download, but the rate is something like 10KB/sec and unusable. Switched to yt-dlp and that seems to be working fine.
@xzbobzx commented on GitHub (May 27, 2023):
I just got "Unable to extract uploader id" today as well, anyone knows when the fix will be rolled into release?
@hsohn commented on GitHub (May 27, 2023):
Use yt-dlp for now. It works
@CodeKraft commented on GitHub (May 27, 2023):
Still waiting on youtube-dl to be fixed, asking me to use yt-dlp isn't an option as nothing compiles on this install and men it looks like its going to compile, it errors or hangs the entire machine.
If yt-dlp was wrapped up in an .appImage then that would work for me as I can give permissions to run.
@alvipeo commented on GitHub (May 27, 2023):
yt-dlp doesn't work. I tried to download some videos today, no go.
@dirkf commented on GitHub (May 27, 2023):
@CodeKraft: "none of the suggested update methods work for me".
@actuallyrizzn too.
@actuallyrizzn commented on GitHub (May 29, 2023):
Yeah, I spent the weekend working thru this problem, still getting the same issues. On Ubuntu, latest,
rizzn@647192ef6ad43648ec259add:~/transcribe$ youtube-dl https://youtu.be/LqQ8xl1SpVo --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://youtu.be/LqQ8xl1SpVo', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.6 (CPython) - Linux-5.15.0-72-generic-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2
[debug] Proxy map: {}
[youtube] LqQ8xl1SpVo: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
rizzn@647192ef6ad43648ec259add:
/transcribe$ sudo apt update yt-dlp/transcribe$ sudo apt updateE: The update command takes no arguments
rizzn@647192ef6ad43648ec259add:
Hit:1 https://download.docker.com/linux/ubuntu jammy InRelease
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [108 kB]
Fetched 337 kB in 1s (340 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
rizzn@647192ef6ad43648ec259add:
/transcribe$ youtube-dl --version/transcribe$ yt-dlp --version2021.12.17
rizzn@647192ef6ad43648ec259add:
2023.03.04
rizzn@647192ef6ad43648ec259add:~/transcribe$
@stoyanovgeorge commented on GitHub (May 30, 2023):
Just install with pip
yt-dlp.@actuallyrizzn commented on GitHub (May 30, 2023):
Yeah, that also has the same problem.
On Tue, May 30, 2023, 4:29 AM Georgi Stoyanov @.***>
wrote:
@BinaryDigitDev commented on GitHub (Jun 2, 2023):
I'm on Mac with M2 chip running Ventura 13.4, and this worked for me:
Make sure you have ffmpeg installed:
brew install ffmpegInstall pip:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.pyrun
python3 get-pip.pyThen install latest youtube-dl from master with the fix:
python3 -m pip install git+https://github.com/ytdl-org/youtube-dl.gitthen run
youtube-dlOPTIONS URL and it should work 👍🏽@dirkf commented on GitHub (Jun 2, 2023):
If you have brew I imagine using
brew install --HEAD ...would be easier. Also, do check the linked advice "If you still want to comment after reading [the Description] ...".tar.gz(made automatically by GH), with no need for git.@CodeKraft commented on GitHub (Jun 2, 2023):
This is now getting well over two months and no fix despite all the comments I have seen about a fix, nothing is working.
Are there any DEV's actually working on this issue?
I have checked that I have Python and its still there, youtube-dl -U keeps on saying I have the latest version...
And someone keeps on marking comments as outdated, off-topic, duplicate, etc when people are still commenting on youtube-dl not working.
You'd think that this was an indication to the DEV's that there are a large number of people out there wondering why youtube-dl isn't working yet 3rd party download sites that offer downloads are working perfectly fine.
@actuallyrizzn commented on GitHub (Jun 2, 2023):
I honestly wound up writing my own system. Probably less flexible, but it
gets the job done.
On Fri, Jun 2, 2023, 12:46 PM Mark @.***> wrote:
@mholetzko commented on GitHub (Jun 2, 2023):
Hello to all the ones who still have trouble with this issue. I have just pulled the last change as suggested above (see quote) and it works like a charm. I am on a Mac with intel silicon.
Kudos to @dirkf for the contribution 🚀 !
@SethTisue commented on GitHub (Jun 2, 2023):
Perhaps the Discussions feature could be enabled in this repo, so there could be a thread there (linked from the ticket) where people could share workarounds and such freely, without distracting the developers on-ticket.
@dirkf commented on GitHub (Jun 2, 2023):
So far all worthwhile examples are covered in the suggestions here. If package managers other than brew and the Ubuntu PPA mentioned above release interim versions, such news could be posted here.
@actuallyrizzn commented on GitHub (Jun 2, 2023):
Yeah, I have a hard time understanding why it works for some and not
others, but then those who are reporting it working fine are not on
anything close to the same platform I reported having a problem on, so that
could be it.
On Fri, Jun 2, 2023, 9:59 PM dirkf @.***> wrote:
@alvipeo commented on GitHub (Jun 3, 2023):
I've just installed the latest with curl on Ubuntu. But when I run it I get:
and I have standard Ubuntu 20.04...
@dirkf commented on GitHub (Jun 3, 2023):
Read the post where this is explained above (hint for Debian/Ubuntu:
python-is-python3).@actuallyrizzn, @CodeKraft: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1565738496 or post your failing installation log.
@alvipeo commented on GitHub (Jun 3, 2023):
@dirkf how can I find this comment, everything is hidden. can you please provide a link?
@dirkf commented on GitHub (Jun 3, 2023):
a. the missing in-issue search function
b. the need to use JavaScript to navigate to "hidden items"
c. the confusing terminology where the issue display mentions both "hidden items" skipped by the functionality at (a) and (b), and manually hidden comments that are marked "is hidden".
@mdwiygul commented on GitHub (Jun 11, 2023):
I'm still getting this error
youtube-dl --verbose https://www.youtube.com/watch?v=07H0CWyZ3vY
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=07H0CWyZ3vY']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.9.2 (CPython) - Linux-5.10.0-20-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.5-0, ffprobe 4.3.5-0, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] 07H0CWyZ3vY: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/john/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/home/john/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/home/john/.local/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/home/john/.local/lib/python3.9/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/home/john/.local/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@alfonsrv commented on GitHub (Jun 18, 2023):
Why is the main
youtube-dlstuck on2021.12.17? Could not find any pointers in the issues as to why that is.Main issue being, no
pipnorbrewpackage seems to exist that provides a current version with a working YouTube download.@CodeKraft commented on GitHub (Jun 18, 2023):
Still no update after this issue has been reported for nearly 3 months.
Are there any DEVs left working on this project or is it dead?
It would be nice if one of the DEV's if any, could address the people waiting for an update package.
I have explained myself that the work around doesn't work as I have also read for many people, same issue that the work around doesn't work.
As observed by the previous poster, youtube-dl version date is stuck on 2021.12.17 which is my last version and there has never been an update since then.
@nicolaasjan commented on GitHub (Jun 18, 2023):
See Issue #31585.
@Ambient-Impact commented on GitHub (Jun 18, 2023):
@CodeKraft Like a lot of open source projects, I suspect this one is run on a volunteer basis with people doing what they can in their spare time. In the meanwhile, I recommend the
yt-dlp/yt-dlpfork which I used successfully the other day so I can confirm it works.@phazon0 commented on GitHub (Jun 20, 2023):
Is there any way to actually download the video?
@CodeKraft commented on GitHub (Jun 20, 2023):
Who is it that keeps on marking comments as off topic? Do they BOTHER to read and understand the content?
This has been going on for months now and to be frank, this delay in a resolution is making a mockery of this project or is the project dead? as in there are no longer any DEV's maintaining it, given that the last update I have is from 2021, two years ago.
People are wanting answers and no, the alternative is not the answer as I have read many comments where people have not found it to work...
@paulrougieux commented on GitHub (Jun 20, 2023):
Force reinstallation to get the fix:
As explain in the Original Post, which links to https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611, then to https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247 (gives a version that requires git, which you might not have). Maybe you didn't see it because you need to click on 3 links to get there. Maybe
pip install --force-reinstallshould be mentioned in the description at the very top?@CodeKraft commented on GitHub (Jun 20, 2023):
bash: pip: command not found@HinTak commented on GitHub (Jun 20, 2023):
I like to report an oddity - I built youtube-dl from git HEAD because of this issue, and rebuild from time to time. For most occasions, the git-HEAD build works around the issue reported here. However, recently, a few days ago, I tried to download some videos, and found that git-HEAD build didn't work, but the system-wide youtube-dl from fedora does; git-HEAD build was showing the "unable to extract uploader ID" message, while fedora linux 38 shipped youtube-dl was downloading them okay. I also has the impression that git-HEAD was not happy with "-x --audio-format best -l --write-thumbnail" on uploader ID, but plain (no extract audio switch) was fine. So it seems that some (older?) videos and/or extract audio may require the pre-change behavior of this issue.
Anyway, I think it is fair that anybody suggesting yt-dlp instead, should be marked as spam/off-topic. Just don't. "Use another tool" suggestion is just annoying.
@HinTak commented on GitHub (Jun 20, 2023):
FWIW, I do "git clone ..." then just "make", instead of "pip..." etc. "make" builds a stand-alone single binary with everything in it, and you can copy/move it around to a place of your choice. This is a slightly better way than "pip ...", which scatters a lot of files onto your computer, and depends on how you run "pip ...", some in system locations and some in user-owned locations.
@jgspratt commented on GitHub (Jun 20, 2023):
I am 50/50 as to whether this project is dead. Can anyone provide clarity?
@dirkf commented on GitHub (Jun 20, 2023):
Everyone, a reminder: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289.
@HinTak, your "git clone" solution works for development (and for me), but I expect that the other recommendations will be better for most people.
Post a verbose log in a new issue if you see this again. I suspect that your installation went awry, although there may possibly have been a bad commit. #31675 was well tested. Nothing in
a2534f7could possibly have affected the behaviour in this issue.I've added your later suggestion (to ask packagers for an update) to the suggested update methods post.
@CodeKraft, you don't have pip installed. Follow https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289 as previously suggested. As you can't manage to read it, this is the relevant bit:
A source for an "unofficial nightly build" is suggested in the main post covering update methods, linked as "below" from the Description.
@paulrougieux (and @HinTak): although it seems to have been quite unsuccessful in the above case, the post that suggests update methods covers all types of installations. If someone doesn't already use pip, it's not our job to make them do so.
@jgspratt: https://github.com/ytdl-org/youtube-dl/commits/master
@CodeKraft commented on GitHub (Jun 20, 2023):
I have stated REPEATEDLY that the alternative project, it won't work because this install of Linux MX has always had a broken compiler and refuses to compile ANY code that it is given to compile, how many times do I have to repeat myself?
Secondly, youtube-dl -U never updates, it stats I have the current version which is dated back in 2021.
I don't have pip its apt-get in most linux installs.
Nothing that has been suggested fixes the issue and logs, where?
When I try to use youtube-dl to download a youtube video it spits out an error about the uploaderID
When I download of dailymotion, not an issue, downloads video no problem, so whatever it is in yt downloader, its the URL parser thats totally effed up. If online website downloaders are working perfectly fine, then this issue is from the last update that was introduced.
@CodeKraft commented on GitHub (Jun 20, 2023):
MeToo... as far as I can tell, no one is fixing this issue and IMHO it may be intentional, seen things like this happen before on repository sites like this.
@HinTak commented on GitHub (Jun 20, 2023):
FWIW, if you don't have pip, you should do "sudo apt-get install pip" first. If you are uncomfortable with installing from source by either means ("pip ...url...master..." or "git clone ..."), then the customary answer is to approach your distribution (Ubuntu in your case I think) and tell them this issue url and ask them to package a snapshot for you. Approaching the developer and badger them to try to make it easy for novice user is not the right approach. Let me repeat: if you cannot or are uncomfortable installing from source, approach your distribution and ask them to package a snapshot. This happens more often than you think, and most linux distribution package maintainers are okay with that.
I personally am keeping both (the fedora 38 shipped one, and the snapshot standalone binary that I built myself), mostly because I prefer it that way; sometimes I file an issue with redhat/fedora myself and give them the fix too, to push them to package a new snapshot into redhat/fedora package format.
@HinTak commented on GitHub (Jun 20, 2023):
a2534f7b8on 11 June is probably the one with the bad commits; it was fixed quite soon - within a week. A week later,07af47960(18th June) was okay.The long version below (i.e. if you are not curious, no need to read further):
I think the oddity (and regression) I mentioned was a bad commit. I still have the command history in one of my windows actually. What I ran was this line:
This failed; and removing the leading
~/i.e. using the older system-wide fedora-shipped one was successful. This line also works with a later rebuild (as I did a pull and rebuild after using the system one).My
git reflogis quite short:So I think
07af47960(the most recent rebuild) is okay,a2534f7b8is the one contains some bad commits/regressions. I had been relatively happy with26035bde4from mid-April for a while (735e87adfis just half a day before26035bde4) and also happy enough with mid-Feb2dd6c6edd, which was the one explicitly mentioned as being the fix for this. My.git/logs/refs/remotes/origin/mastersays that before pulling2dd6c6edd, I was ata8035827177d6b59aca03bd717acb6a9bdd75ada(from mid 2021 - I keep some git clones of various projects, but don't update them unless I have a reasons to - obviously, git would truncate fetch logs going too far back - there is no need to keep fetch logs or reflog from too long ago).If you really like to re-produce the oddity, building
a2534f7b8and give the above a try is my suggestion.One of these 4 changes fixed what was broken in
a2534f7b8, that week, I think.@HinTak commented on GitHub (Jun 20, 2023):
I suppose this illustrates two things, youtube-dl is being continuously updated (4 changes in one week in June, between Feb and April about 30, and between April and June, about 20); and why I prefer doing intermittent standalone snapshots vs 'pip ...' - I have a record/log of what changes are in a build and which are not in.
@CodeKraft commented on GitHub (Jun 20, 2023):
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package pip@HinTak commented on GitHub (Jun 20, 2023):
The Ubuntu pip package name is "python3-pip" :
https://packages.ubuntu.com/search?suite=default§ion=all&arch=any&keywords=python3-pip&searchon=names so you should do "sudo apt-get install python3-pip" (and after that , you may need to adapt the generic instructions from talking about "pip" to "pip3" instead). This is general familiarity with Ubuntu and python in general. I am not a Ubuntu user - so it is really your own responsibility to learn about your own choice of Linux distribution versus generic Linux instructions... (sigh).
@HinTak commented on GitHub (Jun 20, 2023):
You could have found out the above yourself by doing "sudo apt-get search pip", without requiring others giving you the exact commands. Again, this is general familiarity with Ubuntu, which you should have gotten the info from Ubuntu's general novice users' forum instead...
@CodeKraft commented on GitHub (Jun 20, 2023):
Its not ubuntu, its Linux MX which is a more debian version than from the Ubuntu arm of the Linux distro.
sudo apt-get search pip [sudo] password for CodeKraft: E: Invalid operation search@HinTak commented on GitHub (Jun 20, 2023):
I feel like this is a waste of time to respond, as your question had already been answered, a few times: (1) the bug is fixed , (but youtube.com is continuously updating, and so is youtube-dl updating to catch up with youtube.com), (2) -U does not currently work, you must update your installation by other means, two of which are mentioned in the last 24 hours. (3) keeping saying you cannot see any fix or work is just annoying - you don't have the skill nor the knowledge to monitor or appreciate the hard work going into continuously updating the code to catch up with what Google folks are continually changing youtube.com .
@HinTak commented on GitHub (Jun 20, 2023):
Let me state this again: others people use NOT-"Linux MX". It is your own responsibility to learn how your choice of Linux differs from other Linux'es. If you choose to use lawn-mower linux, it is your own responsibility to find out how lawn-mower Linux differs from other more popular ones.
@HinTak commented on GitHub (Jun 20, 2023):
I think it is "apt search ..." instead of "apt-get search ...". But I am not a ubuntu/any-debian-variant user, you are. You are supposed to learn to use
aptandapt-get.@itagagaki commented on GitHub (Jun 20, 2023):
On Mar 11 @dirkf said:
I think this exegesis says it all about the current situation...can't this project get its "ability" back?
@CodeKraft commented on GitHub (Jun 20, 2023):
Just no pip packages in the repository, I tried the
sudo apt search pipand it spits out a list that is truncated and can't find any reference to pip.The answer is simple, wrap up an installer in an AppImage that I know will run perfectly fine as I have a multitude of them and that then doesn't require dependencies to be installed because an AppImage package has all that is needed in that package.
@CodeKraft commented on GitHub (Jun 20, 2023):
I know how to use command lines, however, there is a thing called time and I don't have a lot of it, so sitting down to learn convoluted command line routines is not going to happen. Linux is overly complicated for something that is meant to be more user friendly and I have found it to be nothing but hostile and full of snobs.
@HinTak commented on GitHub (Jun 21, 2023):
Github is not a "end user" support forum - if you want friendly help, actually pay for somebody to help you, by buying a ubuntu subscription, for example, or ask whoever sold you your lawn-mower linux installation CD, would be a good idea. Oh, I forgot: you probably did not pay anybody anything to help you.
@HinTak commented on GitHub (Jun 21, 2023):
Last I heard (about 10 years ago), the redhat annual subscription was about $200 US, already academic/research discounted. Commercial users are 2x/5x ? Ubuntu's annual subscription fee would be similar. If you actually pay the annual subscription fee, you are actually entitled to a packaged AppImage or equivalent from them, within a reasonable (a few months') time, or you get your money back.
@acsr commented on GitHub (Jun 21, 2023):
This note in your solution https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1599243630 is misleading, you need to enter
installbefore--HEAD:your sentence should read: You can also try
brew install --HEAD youtube-dlto update to the latest master code, similar to the pip-based suggestions.Note: if on arm64 you may get an Error while installing/ the --HEAD:
... Pouring pandoc--3.1.3.arm64_monterey.bottle.tar.gz.
Solution: first install pandoc alone by just calling
brew install pandocThen install the Head of youtube-dl as described above.
Then the install will continue on macOS arm64...
Note: I added a thumb to the solution, Ray Kurzweil recommends it as well...
I also suggested to explicitly replace the ellipsis
...withyoutube-dl, but respect you wanted to be more general.@dirkf commented on GitHub (Jun 21, 2023):
Thanks. This is not a tutorial site for brew or pip. I've rephrased the hint to avoid implying that
--HEADis an option of the brew command itself. The wording continues to advisetrying the option because it depends on support in the package that could be withdrawn.If brew has bugs on some platform, that should be reported to the Homebrew tracker. It's up to the packagers to ensure that dependent packages are properly installed, though pandoc is only used to build the documentation, which could be done before packaging.
@HinTak commented on GitHub (Jun 23, 2023):
This is
07af47960standalone build - no installation required, just download, unzip, (maybechmod a+rxthe extracted file is needed, most likely not) and run it as a standalone binary.bin.zip
I looked up what Linux MX is. Its goal is to be minimal, so of course nothing works. You are responsible for your own choices.
@geoidesic commented on GitHub (Jun 28, 2023):
I still can't get this to work. I manage, then two weeks later it gets throttled again, then I go through the whole rigmarole again. Today I uninstalled it and re-installed it and it broke worse:
@nicolaasjan commented on GitHub (Jun 28, 2023):
@geoidesic
Read this comment .
Try:
pip install --upgrade --force-reinstall "git+https://github.com/ytdl-org/youtube-dl.git"(may need to do this as root, since your youtube_dl is in
/usr/local/lib)@CodeKraft commented on GitHub (Jun 28, 2023):
So my comments now get marked as spam ??? Why? Because I am asking when this will be fixed?
FYI
$ youtube-dl -U youtube-dl is up-to-date (2021.12.17)All I get is an error with examples given on how to update or to replace with yt-dlp and still not one example that works.
@d-pletikapa commented on GitHub (Jun 28, 2023):
I don't know if I'm eligible to link here, but this fix worked for me
https://youtu.be/Ghe058HpmMk
so the fix is basically you locate file youtube.py in path [ youtube_dl/extractor ] and comment whole line (or delete)
with 'uploader_id' this line contains regexp for verification of some sort which is broken.
Hope it helps as a hotfix.
@CodeKraft commented on GitHub (Jun 29, 2023):
Doesn't work, all I get is "Not a Directory" issued by BASH.
This is why I am getting annoyed with the lack of help from the DEV's in updating this issue if that "fix" is all that is needed, WTF is wrong with them?
@dirkf commented on GitHub (Jun 29, 2023):
Read the issue:
As reminded above (several times), a valid, non-spam comment must follow "this post below". If you can't make some update method work, post the failing installation log as instructed.
@CodeKraft commented on GitHub (Jun 29, 2023):
Why are you deleting my comments about help?
I have previously supplied everything needed as per request yet you @dirkf appear to be the person removing comments and calling it spam.
I have tried every suggestion posted and NOTHING WORKS can you comprehend that or is your brain too tiny to accept that fact?
I am asking for help and you keep on throwing things back about posting correctly, I have and I am getting sick of this.
In the last post wit the video link, I tried that DOESN'T WORK.
$ cd "/usr/local/bin/youtube-dl/youtube_dl/extractor/" bash: cd: /usr/local/bin/youtube-dl/youtube_dl/extractor/: Not a directoryOK? What more do you want?
@dirkf commented on GitHub (Jun 29, 2023):
@CodeKraft, why are you trying to cd into a non-existent directory? Follow the instructions linked here, not some random's suggestion. The instructions here try to take account of the various installation types, unlike a SO-style "this worked for me", let alone a video. Really, this is explained in the post that I linked above, because (eg) @geoidesic
what worked for you may not work for CodeKraft.
You may find this Janet and John guide to the relevant hyperlinks helpful. I've also pointed you to the last resort instructions, in the previously linked post several times.
If you still don't succeed, explain how you originally installed yt-dl and post the failing log where you tried to follow the appropriate update method as recommended here. Otherwise, straight to spam. @majd-elhasan, too.
@geoidesic commented on GitHub (Jun 29, 2023):
And calm down. This is open source software. People are donating their time to this. It's not a service you're paying for.
@geoidesic commented on GitHub (Jun 29, 2023):
For what it's worth what worked for me was this:
sudo pip3 install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dlOther installation methods led to errors for me on my environment.
@jorgegonzalez commented on GitHub (Jun 29, 2023):
Thanks @geoidesic that worked like a charm
@majd-elhasan commented on GitHub (Jun 29, 2023):
I'am encountring this error after typing : youtube-dl https://www.youtube.com/watch?v=8FL9WANKoUg
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Note : I have installed youtube_dl package using pip ,didnt work ,tried to run youtube installer for windows but seemd that didnt work as well ,and I had the same problem ,
I need a way to download videos from youtube ,if aplicable using some programming languages through android
thanks in advance
@alexanderguryev commented on GitHub (Jun 30, 2023):
it's now July is this available in a fix with brew for mac yet?
@dirkf commented on GitHub (Jun 30, 2023):
@alexanderguryev, read the issue.
@hoshizora-chi commented on GitHub (Jul 1, 2023):
I also have the same problem
here is the output:
OS: Ubuntu, 64bit
thank you in advance
@CodeKraft commented on GitHub (Jul 1, 2023):
So I did it again
youtube-dl -f m4a -o "/media/mark/New Volume1/Videos/%(title)s.%(ext)s" -i https://www.youtube.com/watch?v=ZFB1UOL1yBw --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-f', u'm4a', u'-o', u'/media/mark/New Volume1/Videos/%(title)s.%(ext)s', u'-i', u'https://www.youtube.com/watch?v=ZFB1UOL1yBw', u'--verbose'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Python version 2.7.13 (CPython) - Linux-4.13.0-1-amd64-x86_64-with-MX-18.3-Continuum [debug] exe versions: avconv 3.3.4-1mx17, avprobe 3.3.4-1mx17, ffmpeg 3.3.4-1mx17, ffprobe 3.3.4-1mx17, rtmpdump 2.4 [debug] Proxy map: {} [youtube] ZFB1UOL1yBw: Downloading webpage [youtube] ZFB1UOL1yBw: Downloading MPD manifest ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex raise RegexNotFoundError('Unable to extract %s' % _name) RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.and tried to navigate to the particular python package and despite youtube-dl folder existing, I get an error stating that the folder (directory) doesn't exist.
So there is no way I can manually navigate into the python packages to edit the python script that has the error in it that came from the DEV's of this project.
So when is this package going to be updated??? Everything I try isn't working or causes an error and things were working fine until the last update and 3 months on, nothing has been done to update the error introduced by the dev's.
@paulrougieux commented on GitHub (Jul 1, 2023):
@CodeKraft We can assume good faith when you say you have tried everything. In case it's helpful, here is how to install using
Pypi. Please try the install that doesn't require git and report the output as a comment here:
master.tar.gzshould be suggested at the very top in the OP question instead of requiring 3 clicks down 3 comments as it currently is.@CodeKraft commented on GitHub (Jul 1, 2023):
pip doesn't work nor brew as they are not package installers that are available to me.
I watched a video of someone who edited out (remark) one line in a youtube.py script that cured the problem.
That is all I want to be able to do or have toe DEV's provide a method of fixing the problem in that particular script however, I tried and it can't be reached because it appears that the youtube-dl folder is not valid to navigate into.
As for the pip and brew, no way of installing on this linux box.
its .deb packages or .AppImage options that work, so in my opinion the devs need to wrap up a fix in a .deb or .AppImage package.
@paulrougieux commented on GitHub (Jul 1, 2023):
@CodeKraft I'm sorry for you, if your distro accepts .deb packaes, I advise you to change for Debian. It's available as a standard at many ISPs, and I can confirm that you can successfully install pip there.
@paulrougieux commented on GitHub (Jul 1, 2023):
Pip is available to you for sure since you have python. It's a package
installer within python, for python only.
Just learn about what pip is.
On Sat, 1 Jul 2023 at 09:55, Mark @.***> wrote:
@CodeKraft commented on GitHub (Jul 1, 2023):
It isn't available to me, pip --help returns
bash: pip: command not foundWhen I sudo apt-get install pip I get
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package pipToo many assumptions and not enough listening to the end user complaints.
I say again, the DEV's need to comment out that one line, make the update available through
youtube-dl -Uand have it fixed in no time, I reckon that it will take a DEV about 20 seconds work editing and a minute to push the update. Instead we have a list of complaints going back months which isn't a good look for a project, in many eyes its a dead project and I asked to be proven wrong and still nothing has changed... so until a DEV gets off their rear and does the right thing, this has nothing to do with being busy, if someone is too busy to set aside TWO MINUTES to fix this from an end user being able to update this by the established method, then I may as well report this project to github as a dead project...@nicolaasjan commented on GitHub (Jul 1, 2023):
@CodeKraft
Have you tried
pip3 install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz?
@CodeKraft commented on GitHub (Jul 1, 2023):
`Collecting https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz
Downloading https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz
- 4.4MB 14.3MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named 'setuptools'
Command "python setup.py egg_info" failed with error code 1 in /var/tmp/pip-sjgt8d1u-build/
`
and would the moron that keeps on marking my posts as spam or hiding them stop. They are not spam.
These are GENUINE and what part of GENUINE don't you seem to be able to comprehend? It also doesn't look good for support for this software.
@paulrougieux commented on GitHub (Jul 1, 2023):
@CodeKraft python is telling you that setuptools is missing and Stackoverflow Python 3: ImportError "No Module named Setuptools" explains how to install it. Try
Then try again
@HinTak commented on GitHub (Jul 1, 2023):
You cannot. Already switched off notification and blocked this guy, and not read anything he posts. I posted a standalone all-in-one binary build (it is just "make" to build youtube-dl that way) a while ago, just download, unzip and run. This guy still cannot manage. Contemplating unsubscribing this issue myself.
@CodeKraft commented on GitHub (Jul 1, 2023):
pip install -U pip setuptools bash: pip: command not foundAgain, I DO NOT HAVE PIP or BREW or anything else, its apt-get and there is no package for pip in the repository.
So unless its available as a .deb, there is no way of getting it on this system.
I have this problem a lot, people just can't get it into their heads that there is a problem with some *nix installs, this is one of those and I can tell you that others with this *nix install do not have the same issues.
I have complained to the distro authors about this issue and their response was to ban me from being able to seek help with or get help from the community because in their tiny headspace, they can't believe that their beloved distro is or has a serious flaw. They flaty refused to help and they still couldn't tell me why I have programs start up by themselves at boot when there is no start up option to run programs. I have looked and there is no start function to run programs on login automatically but still it auto runs the Nomad program every time I boot up.
I find the whole linux community on whole very hostile and unforgiving and instead of taking onboard the issues and that I CAN'T DO certain things, I have things that I can't install because MAKE and MAKEFILE crashes on run.
If you had my PC for a day you'd very quickly appreciate why I am stuck.
@dirkf commented on GitHub (Jul 1, 2023):
At last a post with an actual log that is not spam. You still didn't explain how your yt-dl was installed, as asked.
The log makes clear that this is false:
The problem is that your pip is called
pip3, so you could try the command to install setuptools again with that modification (which was actually the command posted for you to try). The recommended procedure is to usepython -m pipinstead ofpip, wherepythonis how you invoke Python on the system, to avoid this confusion.If, or as, pip doesn't work for you, use the last resort procedure as suggested several times: ie, uninstall any yt-dl you have and download a single file unofficial nightly build for Linux instead. The instructions for an official build "To install it right away for all UNIX users ..." apply, but change the URL to match the nightly build. You don't need to
just "make" to build youtube-dlin this case, but you might need to ensure that you have a program namedpythonand not justpython3.Like @HinTak, I'm not so sure. This user has repeatedly failed to follow instructions that would have enabled others to assist, instead relentlessly and cluelessly spamming issues. And apparently at MX Linux, too.
As illustrated by this case, pip isn't the right answer for many users. That's why the instructions ask the user what sort of yt-dl installation is being updated and suggest the best solution for each case. I'm sure I've explained this before.
It should be, in MX Linux, which is a (very good) Debian derivative. But apparently "not".
@udippel commented on GitHub (Jul 1, 2023):
I hope I may ask a question on this, despite this being a branch?
Originally, I had come here for the Error, uploader id. With the help of some nice people here, I could get it solved.
Recently, when calling this utility, I do get
WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (Unable to extract Initial JS player n function alias (Nsa[0]); please report this issue on https://yt-dl.org/bug .The download goes through.
Has this been addressed - Should I try another update?
Thanks in advance,
Uwe
@CodeKraft commented on GitHub (Jul 1, 2023):
Thanks but it didn't work
pip3 install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality. Defaulting to user installation because normal site-packages is not writeable Collecting https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz Using cached https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz Using legacy 'setup.py install' for youtube-dl, since package 'wheel' is not installed. Installing collected packages: youtube-dl Running setup.py install for youtube-dl ... done Successfully installed youtube-dl-2021.12.17 mark@mx1:~ $ youtube-dl -f m4a -o "/media/mark/New Volume1/Videos/%(title)s.%(ext)s" -i https://www.youtube.com/watch?v=ZFB1UOL1yBw [youtube] ZFB1UOL1yBw: Downloading webpage [youtube] ZFB1UOL1yBw: Downloading MPD manifest ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.I have tried everything as suggested and still nothing is working.
I say again, there needs to be a .deb installer package to change the python script that is faulty. if the mod watched the video posted by the user that commented out the faulty line in the script, they might just see how quick it is for a new python script to replace the faulty script on systems like mine that are problematic.
My experience of linux users is pretty much on the receiving end of hostile and dismissive remarks with little to no help, in fact you could liken the response to being like that of a bunch of snobs who snear and laugh at people who struggle to fix things on their system rather than explaining the steps, take dirk or whatever his username is, three times they have pointed to a comment that is very unhelpful and is typical of linux users attitudes.
Not all users of linux can follow commandlines, I can use commandlines but even then need some assistance from time to time and this is one of those issues that isn't being resolved because I need help with fixing something that should really be available in a .deb package because the repositories are no available on this linux setup... as demonstrated several times already.
@CodeKraft commented on GitHub (Jul 1, 2023):
How many times do I have to repeat myself... MAKE and MAKEFILE do not exist on this install and when supplied, they crash... bangs head against keyboard for having to repeat themselves again
@dirkf commented on GitHub (Jul 1, 2023):
@CodeKraft: just some more moronic suggestions to help you:
python3.5 -m youtube_dlinstead ofyoutube-dlin your test command (NB_vs-)which youtube-dl; ls -l "$(which youtube-dl)"@udippel, the issue #32346 was fixed before it was reported, but the unofficial nightly builds may not have synced the required update.
@udippel commented on GitHub (Jul 1, 2023):
@dirkf:
pip install --force-reinstall git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dldid the job.
--force-reinstallwas necessary.Thanks a bunch!
@CodeKraft commented on GitHub (Jul 1, 2023):
Originally I installed via the commandline
sudo apt-get install youtube-dlafter invoking the suggested
pipoption the output I get now isyoutube-dl -f m4a -o "/media/mark/New Volume1/Videos/%(title)s.%(ext)s" -i https://www.youtube.com/watch?v=ZFB1UOL1yBw --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-f', u'm4a', u'-o', u'/media/mark/New Volume1/Videos/%(title)s.%(ext)s', u'-i', u'https://www.youtube.com/watch?v=ZFB1UOL1yBw', u'--verbose'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Python version 2.7.13 (CPython) - Linux-4.13.0-1-amd64-x86_64-with-MX-18.3-Continuum [debug] exe versions: avconv 3.3.4-1mx17, avprobe 3.3.4-1mx17, ffmpeg 3.3.4-1mx17, ffprobe 3.3.4-1mx17, rtmpdump 2.4 [debug] Proxy map: {} [youtube] ZFB1UOL1yBw: Downloading webpage [youtube] ZFB1UOL1yBw: Downloading MPD manifest ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex raise RegexNotFoundError('Unable to extract %s' % _name) RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.when I tried the suggested
python3 -m youtube-dlI get the errorpython3 -m youtube-dl /usr/bin/python3: No module named youtube-dlyet I do have youtube-dlsudo apt-get youtube-dl [sudo] password for ****: Reading state information... Done youtube-dl is already the newest version (1:2021.06.06-0.1~mx17+1). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.@dirkf commented on GitHub (Jul 1, 2023):
Now we're getting somewhere...
Put your glasses on FFS:
Also, please:
@symbolicEmm commented on GitHub (Jul 1, 2023):
yt-dlp install script is available on SlackBuilds.org for SlackwareOS users like myself.
Thank you zat guy for your fortitude, patience, politic and diplomacy. Yet I am pleased to unsubscribe at this time.
So so glad to have mpv running smoothly once again.
@HinTak commented on GitHub (Jul 1, 2023):
These two are some of the major sources of problems - python 2 was end of life in Jan 2020. Kernel 4.19 was a LTS kernel and it was already considered too old in 2020 - current is 6.4.x. It is not just a "Linux MX" system, but an extremely old, outdated and no-longer-supported/updated Linux MX system. (Besides all of problems between the chair and the keyboard...).
I already switched off notifications and block this guy. Really contemplating unsubscribing myself, just to stop reading others trying to "help" him.
@CodeKraft commented on GitHub (Jul 2, 2023):
If you are referring to me, then I updated python as well as youtube-dl reinstalled but still this version is what is installed, version 2.7.13
So the issue isn't me being out of date, the issue is that all the methods suggested, including pip, keep on installing that version.
@CodeKraft commented on GitHub (Jul 2, 2023):
Finally, why couldn't you just give an example like
python3.5 -m youtube_dl -f m4a -o "/media/mark/New Volume/Videos/%(title)s.%(ext)s" -i https://www.youtube.com/watch?v=ZFB1UOL1yBw [youtube] ZFB1UOL1yBw: Downloading webpage [youtube] ZFB1UOL1yBw: Downloading MPD manifest [dashsegments] Total fragments: 1 [download] Destination: /media/mark/New Volume/Videos/Devastation - I Feel Love (Rave Devastation).m4a [download] 100% of 6.09MiB in 00:02 [ffmpeg] Correcting container in "/media/mark/New Volume/Videos/Devastation - I Feel Love (Rave Devastation).m4a"@dirkf commented on GitHub (Jul 2, 2023):
So now the problem is clear:
pipcommand unless you installpython-pip(orpython3-pip)python -m pip ...where, in this case,pythonshould have beenpython(the Python 2 relative to which apt installed yt-dl) and notpython3-- I've clarified the recommendation/usr/bin/youtube-dl, but we haven't been shown the result ofwhich youtube-dl) there is a legacy executable scriptyoutube-dlthat invokes the Py 2.7 moduleThe legacy script needs to be replaced (almost certainly using admin, and it must be marked as executable) so that running
youtube-dlinvokes the right version. This is what apt put on my system:Or, as suggested many times:
unofficial (now) nightly build for Linux.@St897, review the above and/or read the updated instructions. You are updating the wrong yt-dl or from the wrong source.
Similarly, @infinitejesp, uninstall or remove any existing yt-dl and install the appropriate nightly build for your platform.
@viebrix, please open a new issue for your nightly build problem with a full log, though
sudo python3.10 -m pip install --force-reinstall ...should have updated your broken version.@sudo-dax commented on GitHub (Jul 5, 2023):
I'm on Debian
I have the latest version of youtube-dl
I have python3
I have the same problem, no matter what video I get the same error:
@St897 commented on GitHub (Jul 6, 2023):
For what it is worth:
using debian version, using the latest release here or using the curl way, they all result in the same issue:
although it is a binary release, just adding
@udippel commented on GitHub (Jul 6, 2023):
Debian, that's close to *buntu. I wrote some comments on HowTo on *buntu.
Read #31530 before.
@phazon0 commented on GitHub (Jul 9, 2023):
I found a fix, literally just use yt-dlp. (It actually works)
@zamus1 commented on GitHub (Jul 13, 2023):
#Unable to extract uploader id;
I'm having this issue right now.
I'm using the latest version:
youtube-dl --version
2021.12.17
youtube-dl 'https://www.youtube.com/watch?v=C0DPdy98e4c' -o 'output.mp4' -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=C0DPdy98e4c', '-o', 'output.mp4', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.6.9 (CPython) - Linux-4.15.0-191-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 4.3-2, ffprobe 4.3-2, phantomjs ., rtmpdump 2.4
[debug] Proxy map: {}
[youtube] C0DPdy98e4c: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@Celiian commented on GitHub (Jul 16, 2023):
Hey i am completely lost, is there a way to fix the problem ??
@zamus1 commented on GitHub (Jul 16, 2023):
Hey @Celiian while they fix this, I had to install yt-dlp fork... it works.
@Celiian commented on GitHub (Jul 16, 2023):
Yeah i just did it and no error but whatever i do i cannot hear the bot playing the song, i double checked everything so im kinda lost lol
@ghost commented on GitHub (Jul 16, 2023):
Are these the recommended steps to remove the issue associated with "ERROR: Unable to extract uploader id; " ?
@SarenT commented on GitHub (Jul 18, 2023):
It is unclear, where to find the official nightly builds. https://ytdl-org.github.io/youtube-dl/download.html
@dirkf commented on GitHub (Jul 18, 2023):
@SarenT commented on Jul 18, 2023
But you're here, and the nightly page is actually linked in the quoted text, as you saw, as well as at the top of the
tldr;post linked from the Description (and now in #30839).@SarenT commented on GitHub (Jul 18, 2023):
In this page there are many hidden comments. I quickly searched for "release" and "nightly" but did not find. It is my bad actually, I should have read carefully but there were too many messages. Releases page on the repo page leads to older releases.
@NelsonScott commented on GitHub (Jul 22, 2023):
Minor thing for anyone else trying to upgrade their brew package, you cant provide that arg to upgrade, but you can do this:
brew uninstall youtube-dlthen
brew install --HEAD youtube-dlThat solved my issue
@phazon0 commented on GitHub (Jul 24, 2023):
Im on windows and still have this issue
@dirkf commented on GitHub (Jul 24, 2023):
Good to know, though I was hoping that people using
brewwould know how to use it, this not being a Homebrew support forum.@NelsonScott commented on GitHub (Jul 24, 2023):
Given that most people on mac will be using brew to install it, and that's one of the official methods in the youtube-dl readme, I think it should be clear to people who encounter this. Afterall if people cant install/use it, can't get any of the value from this repo (and its a great tool); I think it's not common knowledge to have to uninstall and then install using '--head' arg - I've never had to before.
@Shakthi-2406 commented on GitHub (Jul 25, 2023):
Do pip install youtube-dl==2020.12.2
@mAr3cKi commented on GitHub (Jul 28, 2023):
Hi,
working solution: copy /usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py
cd /usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py
open your editor / for example nvim
insert here #
save
Done :)
@infinitejesp commented on GitHub (Jul 28, 2023):
I am too simple to do all these scripts, is there a solution that works
nearly like the original YT-DL?
@viebrix commented on GitHub (Jul 29, 2023):
Solution of mAr3cKi (https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1655779199) worked like a charm.
My youtube.py was only in an other folder:
/usr/local/lib/python3.10/dist-packages/youtube_dl/extractor
Other solutions which were posted above, for example nightly built, didn't work - or description was (for myself) not detailed enough to follow in a correct way.
Beside: Error with the nightly built was:
Traceback (most recent call last): File "/home/*******/.local/bin/youtube-dl", line 5, in <module> from youtube_dl import main ModuleNotFoundError: No module named 'youtube_dl'@viebrix commented on GitHub (Jul 30, 2023):
@dirkf thanks "sudo python3.10 ..." did the difference, seems to work now. Many Thanks!
@slrgt commented on GitHub (Aug 3, 2023):
@dirkf considering there hasnt been an updated release in 2 years is it expected that the maintainers have left the project and won't be updating the official release with the fix?
@adrhc commented on GitHub (Aug 3, 2023):
youtube-dl.exe --dump-json http://www.youtube.com/watch?v=RqzGzwTY-6wyoutube-dl --versionPS: on linux it works
@tdr2d commented on GitHub (Aug 15, 2023):
Solution is shown here https://www.youtube.com/watch?v=Ghe058HpmMk , just add the comment on the line that causes the problem in youtube.py
@marcelo-franceschini commented on GitHub (Sep 5, 2023):
Why isn't this patch in the releases? The last release is dec/2021
@aymagee92 commented on GitHub (Sep 8, 2023):
I don't understand why all of these comments are being hidden and the original comment is just saying "it's fixed" when the most recent package update still has this issue. Please make it obvious what the fix is rather than marking everything as spam.
The solution is to uninstall youtube-dl and install the yt-dlp package. https://github.com/yt-dlp/yt-dlp
@jeremy-ricky commented on GitHub (Sep 29, 2023):
watch this video : https://www.youtube.com/watch?v=Ghe058HpmMk
@AyushPaudel commented on GitHub (Oct 3, 2023):
This issue is still persistent with youtube-dl.
Installing yt-dlp using pip solved the problem
@the7erm commented on GitHub (Oct 24, 2023):
I don't know if it's the "right" answer but I edited
youtube.pyindef _real_extractand this worked for me.@dirkf commented on GitHub (Oct 24, 2023):
@the7erm, do read the issue text before commenting.
@dirkf commented on GitHub (Nov 2, 2023):
FFS read the issue Description instead of looking at clueless videos; also #30839.
@vdegenne commented on GitHub (Nov 2, 2023):
@dirkf You answered after I deleted my question, it was my bad, we can both suppress this useless data.
@Mr-Bossman commented on GitHub (Nov 2, 2023):
To be fair it's very confusing saying "This issue is solved" when it has been fix in yt-dlp and not here.
@vdegenne commented on GitHub (Nov 2, 2023):
There are nightly builds you can download from, I took the binary from there, it solves the issue in my case.
@php4fan commented on GitHub (Nov 5, 2023):
I installed the latest nightly build (or at least it was the latest available a few days ago) and still get the same error:
@zaphida commented on GitHub (Nov 5, 2023):
You didn't get it as an error, you got it as a warning which is the
intended behavior.
On Mon, 6 Nov 2023 at 07:42, php4fan @.***> wrote:
@nicolaasjan commented on GitHub (Nov 6, 2023):
See also #32534 and this comment here:
See also yt-dlp/yt-dlp#7594.
Should be resolved by backporting a fix from yt-dlp, applied to
youtube.py:After applying that, no warning any more and decent download speed 🙂 :
@vdegenne commented on GitHub (Nov 6, 2023):
@nicolaasjan
or you could just use
--no-warningsgiggles@nicolaasjan commented on GitHub (Nov 6, 2023):
Yes, but that still leaves you with the slow download speed.
@dirkf commented on GitHub (Nov 6, 2023):
@php4fan, see the difference:
#32534, #32499:
WARNING: unable to extract player URLThis issue:
WARNING: unable to uploader id@fazliimam commented on GitHub (Nov 11, 2023):
Anyone got a solution for this?
@php4fan commented on GitHub (Nov 12, 2023):
@fazlicodes the solution is to use https://github.com/yt-dlp/yt-dlp instead of youtube-dl.
@idoodler commented on GitHub (Nov 13, 2023):
Works like a charm, thx
@n-sweep commented on GitHub (Nov 17, 2023):
@php4fan thank you!
@relunctance commented on GitHub (Dec 4, 2023):
you can try :
https://github.com/yt-dlp/yt-dlp
@badjano commented on GitHub (Dec 18, 2023):
How is this closed? every video I try gives me this error and I tried downloading lates version a few times from different sources and it seems it is from 2021.
Some answers might help
@dirkf commented on GitHub (Dec 18, 2023):
It's not closed. The answers you want are in the Description which you apparently couldn't be bothered to read.
@Elmehdioub commented on GitHub (Dec 21, 2023):
I Have same issue and it's very annoying to have.
[youtube] 1fwJ8H5wWCU: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@vodiylik commented on GitHub (Jan 13, 2024):
I have same issue
@jayaBalaR commented on GitHub (Jan 30, 2024):
I am facing the same issue. Could you please help with a fix for the same. we want it for a POC for our university project
@jayaBalaR commented on GitHub (Jan 30, 2024):
pasting the screen shot here

@dirkf commented on GitHub (Jan 30, 2024):
@jayaBalaR: do read the issue text again. The Description explains how to solve your problem. So does #30839.
@snex commented on GitHub (Feb 5, 2024):
This issue is a year old. What possible reason can the devs have for not creating a release to fix an issue that makes the very idea of this app unusable? You say there's a fix in the source. So push it out already. Stop telling users to do custom nonsense.
@paulrougieux commented on GitHub (Feb 5, 2024):
@snex difficult to understand, the main developer @dirkf 's most extensive justification appears to be here https://github.com/ytdl-org/youtube-dl/issues/31585
@dirkf commented on GitHub (Feb 5, 2024):
@snex, @paulrougieux: see "nightly build" in the Description. A final resolution of #31585 could be to port a similar workflow to the main repo.
And @jgspratt too.
@jgspratt commented on GitHub (Feb 6, 2024):
"In space, no one can hear you scream."
Move on, folks. Take a hint.
@calvinusesyourcode commented on GitHub (Jul 19, 2024):
^
@iamisti commented on GitHub (Feb 9, 2025):
Solution that worked for me:
pip install --upgrade --force-reinstall "git+https://github.com/ytdl-org/youtube-dl.git"@dazraf commented on GitHub (Feb 9, 2025):
Hi, I'm seeing the same bug with this invocation using 2021.12.17.
@nicolaasjan commented on GitHub (Feb 9, 2025):
Did you actually read the Description at the top?
So, use the Nightly version. 🙂
@lgmventura commented on GitHub (Mar 11, 2025):
The recommended solution doesn't work. Downloading youtube-dl and running it with a youtube link results in:
/usr/bin/env: ‘python’: No such file or directory@itagagaki commented on GitHub (Mar 11, 2025):
It sounds like python just isn't installed properly, but what do you mean by “the recommended solution” anyway?
@lgmventura commented on GitHub (Mar 11, 2025):
I meant the recommended solution given in the comment by @Shituation : https://github.com/ytdl-org/youtube-dl/issues/31530#issue-1587746229. Python 3 already comes installed on Ubuntu 24.04.
@dirkf commented on GitHub (Mar 11, 2025):
@lgmventura wrote:
The POSIX-ish single file version of the program expects a
pythonto be on thePATH.If your Python is called
python3, and your Ubuntu version no longer has apython-is-python3package, there are these options for running this version of the program:pythonon the executablePATHin the same way that the package did: recommended since it survives updating the program3afterpythonin the first first line of the executable (a zipimport bundle with a text (shebang) line followed by the zip-compressed program files) using a hex editor or even sedpython3 path/to/youtube-dl ....Or install with pip, using, say,
python3 -m pip ...from the .tar.gz archive in the nightly release assets.These options are explained up-thread (and elsewhere) but GH makes it difficult to find.
The Windows single-file build contains enough of Python 3.4 to run itself, so is not affected by this problem.
@r1shabharora commented on GitHub (Mar 25, 2025):
It seems like the issue is still not fixed. Please see below error.
@verhovensky commented on GitHub (Jun 28, 2025):
@nicolaasjan commented on GitHub (Jun 28, 2025):
@verhovensky
If you had read the description at the top of this post, you would have seen the recommendation to use the Nightly version.
But even with that one there is another issue now.
TL;DR;
Add a user agent to your command:
--user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0"@HumanBot000 commented on GitHub (Jul 15, 2025):
Doesn't work anymore
@Vangelis66 commented on GitHub (Jul 15, 2025):
@HumanBot000, in what way is it NOT working for you? Where is the verbose log of your failure(s) ?
FWIW, it's still working OK here by using the UA shared above by @nicolaasjan:
If it isn't obvious to you already from the log, I'm using the Windows 32-bit
youtube-dl.exebinary, as offered on:https://github.com/ytdl-org/ytdl-nightly/releases/tag/2025.05.05
(... and I'm just guessing here 😜 , but this issue probably isn't the right one to have reported your alleged failure(s) )
@dirkf commented on GitHub (Jul 16, 2025):
How true.
@AyvazovAleksandr commented on GitHub (Nov 28, 2025):
This issue was never resolved, the current code was used!
@dirkf commented on GitHub (Nov 29, 2025):
https://github.com/ytdl-org/youtube-dl/issues/31530#issue-1587746229
#30839