Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication regression in latest release #7368

Closed
9 of 10 tasks
tntmod54321 opened this issue Jun 21, 2023 · 3 comments
Closed
9 of 10 tasks

Authentication regression in latest release #7368

tntmod54321 opened this issue Jun 21, 2023 · 3 comments
Labels
bug Bug that is not site-specific duplicate This issue or pull request already exists

Comments

@tntmod54321
Copy link
Contributor

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

  • I'm reporting a bug unrelated to a specific site
  • I've verified that I'm running yt-dlp version 2023.06.21 (update instructions) or later (specify commit)
  • I've checked that all provided URLs are playable in a browser with the same IP and same login details
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
  • I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood

Hi, this latest release broke the soundcloud extractor for me (the previous release still works), I'm filing this as a generic bug because this error occurs in extractor/common, and could perhaps be present in other extractors, I hope that's forgivable.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', '-F', 'https://soundcloud.com/user-352956556/my-home-is-a-prison']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.06.21 [42f2d40b4] (pip)
[debug] Python 3.10.8 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1q  5 Jul 2022)
[debug] exe versions: ffmpeg 4.4-essentials_build-www.gyan.dev (setts), ffprobe 4.4-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2018.04.16, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1848 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version: stable@2023.06.21, Current version: stable@2023.06.21
yt-dlp is up to date (stable@2023.06.21)
ERROR: 'NoneType' object has no attribute 'format'
Traceback (most recent call last):
  File "C:\Users\tntmo\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1555, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Users\tntmo\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1631, in __extract_info
    ie_result = ie.extract(url)
  File "C:\Users\tntmo\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\extractor\common.py", line 705, in extract
    self.initialize()
  File "C:\Users\tntmo\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\extractor\common.py", line 609, in initialize
    username, password = self._get_login_info()
  File "C:\Users\tntmo\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\extractor\common.py", line 1335, in _get_login_info
    username, password = self._get_netrc_login_info(netrc_machine)
  File "C:\Users\tntmo\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\extractor\common.py", line 1300, in _get_netrc_login_info
    cmd = self.get_param('netrc_cmd', '').format(netrc_machine)
AttributeError: 'NoneType' object has no attribute 'format'
@tntmod54321 tntmod54321 added bug Bug that is not site-specific triage Untriaged issue labels Jun 21, 2023
@github-actions

This comment was marked as resolved.

@tntmod54321
Copy link
Contributor Author

tntmod54321 commented Jun 21, 2023

I was right, yikes, twitch is also broken. edit: according to the above bot, odysee too.

@tntmod54321 tntmod54321 changed the title [soundcloud] authentication regression in latest release Authentication regression in latest release Jun 21, 2023
@pukkandan pukkandan added duplicate This issue or pull request already exists and removed triage Untriaged issue potential-duplicate labels Jun 21, 2023
@pukkandan
Copy link
Member

pukkandan commented Jun 21, 2023

#7367

@pukkandan pukkandan closed this as not planned Won't fix, can't repro, duplicate, stale Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug that is not site-specific duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants