Daily Wire Not Working TypeError: 'NoneType' object is not iterable
See original GitHub issueChecklist
- I’m reporting a broken site
- I’ve verified that I’m running yt-dlp version 2022.06.22.1 (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 the bugtracker for similar issues including closed ones. DO NOT post duplicates
- I’ve read the guidelines for opening an issue
- I’ve read about sharing account credentials and I’m willing to share it if required
Region
United States
Description
I’m excited about the new Daily Wire Extractor but I have not been able to get it to work. I tried both without and with cookies and I get a TypeError: ‘NoneType’ object is not iterable. Let me know if I’m doing something wrong. Thank you!
Verbose log
PS C:\Users\jcsch> yt-dlp https://www.dailywire.com/episode/ep-1520-the-return-of-religious-freedom-bonus-hour-2 --verbose
[debug] Command-line config: ['https://www.dailywire.com/episode/ep-1520-the-return-of-religious-freedom-bonus-hour-2', '--verbose']
[debug] Portable config "G:\yt-dlp\yt-dlp.conf": ['-o', 'G:/YoutubeDL/%(title)s.%(ext)s', '--external-downloader', 'aria2c']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.06.22.1 [a86e01e] (win32_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.22000-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 2022-03-24-git-28d011516b-essentials_build-www.gyan.dev (setts), ffprobe 2022-03-24-git-28d011516b-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] [DailyWire] Extracting URL: https://www.dailywire.com/episode/ep-1520-the-return-of-religious-freedom-bonus-hour-2
[DailyWire] ep-1520-the-return-of-religious-freedom-bonus-hour-2: Downloading webpage
ERROR: 'NoneType' object is not iterable
Traceback (most recent call last):
File "yt_dlp\YoutubeDL.py", line 1427, in wrapper
File "yt_dlp\YoutubeDL.py", line 1497, in __extract_info
File "yt_dlp\extractor\common.py", line 647, in extract
File "yt_dlp\extractor\dailywire.py", line 63, in _real_extract
TypeError: 'NoneType' object is not iterable
PS C:\Users\jcsch> yt-dlp https://www.dailywire.com/episode/ep-1520-the-return-of-religious-freedom-bonus-hour-2 --cookies G:\yt-dlp\dw.txt --verbose
[debug] Command-line config: ['https://www.dailywire.com/episode/ep-1520-the-return-of-religious-freedom-bonus-hour-2', '--cookies', 'G:\\yt-dlp\\dw.txt', '--verbose']
[debug] Portable config "G:\yt-dlp\yt-dlp.conf": ['-o', 'G:/YoutubeDL/%(title)s.%(ext)s', '--external-downloader', 'aria2c']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.06.22.1 [a86e01e] (win32_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.22000-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 2022-03-24-git-28d011516b-essentials_build-www.gyan.dev (setts), ffprobe 2022-03-24-git-28d011516b-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] [DailyWire] Extracting URL: https://www.dailywire.com/episode/ep-1520-the-return-of-religious-freedom-bonus-hour-2
[DailyWire] ep-1520-the-return-of-religious-freedom-bonus-hour-2: Downloading webpage
ERROR: 'NoneType' object is not iterable
Traceback (most recent call last):
File "yt_dlp\YoutubeDL.py", line 1427, in wrapper
File "yt_dlp\YoutubeDL.py", line 1497, in __extract_info
File "yt_dlp\extractor\common.py", line 647, in extract
File "yt_dlp\extractor\dailywire.py", line 63, in _real_extract
TypeError: 'NoneType' object is not iterable
Issue Analytics
- State:
- Created a year ago
- Comments:27 (22 by maintainers)
Top Results From Across the Web
TypeError: 'NoneType' object is not iterable in Python
It means the value of data is None .
Read more >3 Fixes For The TypeError: 'NoneType' object is not iterable Error
In this post, we provide 3 fixes for the TypeError: 'NoneType' object is not iterable Error.
Read more >2022.6: Gaining new insights! - Home Assistant
Hi there, Home Assistant Core 2022.6! The June release brings insights! Insights on how you are doing with your energy usage, and insights ......
Read more >58c21cf9d2a5945c2c12b708817... - Oracle Linux Yum Server
require cobbler20 - Spacewalk is not working with upstream cobbler anyway - Recommend ... 1419867 - fixing 'NoneType object is not iterable' error...
Read more >Untitled
Mysql left join not working, Ntrcnehs lkz cfqnf, Licno osiguranje dunav, ... Strong heart july 24 2012 eng sub, Python sort nonetype object...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
self._get_cookies(url).get(cookie_name)
I don’t think this has anything to do with getting the intermediate URL between redirects.
Use
self._request_webpage
which gives you the http response instance (not just the webpage data), which you can do.geturl()
on. This will give you the final url in the HTTP redirect chain.