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

Fails to download iheart podcast #5125

Open
9 tasks done
widroz opened this issue Oct 3, 2022 · 2 comments
Open
9 tasks done

Fails to download iheart podcast #5125

widroz opened this issue Oct 3, 2022 · 2 comments
Labels
site-bug Issue with a specific website

Comments

@widroz
Copy link

widroz commented Oct 3, 2022

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I 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 2022.09.01 (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

Provide a description that is worded well enough to be understood

iheart podcast appears in the list of supported sites, but this particular iheart podcast URL returns the provided output.

not working URL: https://www.iheart.com/podcast/139-lunchtime-roggin-rodney-27246375/episode/622-hour-1-roggin-and-rodney-98619427/
source: https://www.iheart.com/podcast

I found this issue: #5017 which has a very similar error output.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', '--ffmpeg-location', 'C:\\git\\woody\\ide\\src\\bin\\ingest\\youtube-dl_ffmpeg\\ffmpeg.exe', 'https://www.iheart.com/podcast/139-lunchtime-roggin-rodney-27246375/episode/622-hour-1-roggin-and-rodney-98619427/']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.09.01 [5d7c7d6] (win32_exe)
[debug] Python 3.8.10 (CPython 64bit) - Windows-10-10.0.22000-SP0
[debug] Checking exe version: "C:\git\woody\ide\src\bin\ingest\youtube-dl_ffmpeg\ffmpeg.exe" -bsfs
[debug] Checking exe version: "C:\git\woody\ide\src\bin\ingest\youtube-dl_ffmpeg\ffprobe" -bsfs
[debug] exe versions: ffmpeg 4.3.2-2021-02-27-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1670 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.09.01, Current version: 2022.09.01
yt-dlp is up to date (2022.09.01)
[debug] [IHeartRadio] Extracting URL: https://www.iheart.com/podcast/139-lunchtime-roggin-rodney-27246375/episode/622-hour-1-roggin-and-rodney-98619427/
[IHeartRadio] 98619427: Downloading JSON metadata
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 98619427: Downloading 1 format(s): 0
[debug] Invoking http downloader on "https:///post.futurimedia.com/klac/playlist/5/12616.m4a?source=iheart"
[download] Got error: <urlopen error no host given>. Retrying (1/10)...
[download] Got error: <urlopen error no host given>. Retrying (2/10)...
[download] Got error: <urlopen error no host given>. Retrying (3/10)...
[download] Got error: <urlopen error no host given>. Retrying (4/10)...
[download] Got error: <urlopen error no host given>. Retrying (5/10)...
[download] Got error: <urlopen error no host given>. Retrying (6/10)...
[download] Got error: <urlopen error no host given>. Retrying (7/10)...
[download] Got error: <urlopen error no host given>. Retrying (8/10)...
[download] Got error: <urlopen error no host given>. Retrying (9/10)...
[download] Got error: <urlopen error no host given>. Retrying (10/10)...
[download] Got error: <urlopen error no host given>. Giving up after 10 retries
  File "yt_dlp\__main__.py", line 18, in <module>
  File "yt_dlp\__init__.py", line 962, in main
  File "yt_dlp\__init__.py", line 954, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3293, in download
  File "yt_dlp\YoutubeDL.py", line 3268, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1448, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1459, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1556, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1614, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2712, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3171, in process_info
  File "yt_dlp\YoutubeDL.py", line 2895, in dl
  File "yt_dlp\downloader\common.py", line 443, in download
  File "yt_dlp\downloader\http.py", line 369, in real_download
  File "yt_dlp\utils.py", line 5794, in __iter__
  File "yt_dlp\downloader\common.py", line 388, in report_retry
  File "yt_dlp\utils.py", line 5801, in report_retry
  File "yt_dlp\downloader\common.py", line 391, in <lambda>
  File "yt_dlp\YoutubeDL.py", line 994, in report_error
  File "yt_dlp\YoutubeDL.py", line 923, in trouble
@widroz widroz added bug Bug that is not site-specific triage Untriaged issue labels Oct 3, 2022
@pukkandan pukkandan added site-bug Issue with a specific website and removed bug Bug that is not site-specific labels Oct 3, 2022
@coletdjnz coletdjnz removed the triage Untriaged issue label Oct 7, 2022
@HobbyistDev
Copy link
Contributor

HobbyistDev commented Oct 11, 2022

This site probably using drupal
Here's the relevant json:

{
  "episodes": {
    "98619427": {
      "id": 98619427,
      "podcastId": 27246375,
      "podcastSlug": "139-lunchtime-roggin-rodney",
      "title": "6/22 Hour 1 Roggin and Rodney",
      "duration": 2138,
      "isExplicit": false,
      "isInteractive": false,
      "description": "Fred Roggin and Rodney Peete talk with Morgan Fox of the Chargers about the Dog show and with VTB.",
      "mediaUrl": "https://chtbl.com/track/5899E//dts.podtrac.com/redirect.m4a/post.futurimedia.com/klac/playlist/5/12616.m4a?source=iheart",
      "startDate": 1655899193000,
      "endDate": 4811576546732,
      "ingestionDate": 1655870400000,
      "imageUrl": "https://i.iheart.com/v3/url/aHR0cHM6Ly9wb3N0LmZ1dHVyaW1lZGlhLmNvbS9wbGF5bGlzdC9zdHJlYW1vbi1wZXJtL2tsYWMtMTYxNDEyMjM0NS4xOTYyNDUuanBn"
    }
  }
}

We can get the url from mediaUrl

@Vangelis66
Copy link

... Not being a coder in the slightest 😉 but, from the log in the OP, it looks as if yt-dlp chokes when the http downloader is being invoked:

[debug] Invoking http downloader on "https:///post.futurimedia.com/klac/playlist/5/12616.m4a?source=iheart"

Have any of the devs noticed that in the URI tried, there are three forward slashes after the protocol (https:) ? Perhaps that's the crux of the issue because once a proper incantation is fed to yt-dlp, a download starts and completes successfully:

yt-dlp "https://post.futurimedia.com/klac/playlist/5/13691.m4a?source=iheart" -o "IHR_Podcast_test.m4a" => 

[generic] 13691: Downloading webpage
[redirect] Following redirect to https://ondemand-us-nyc03.cdnstream1.com/streamon-perm/KLAC-128k-pl-13691.m4a?awCollectionId=27246375&awEpisodeId=104189433&aw_0_azn.pgenre=Arts&aw_0_azn.pname=KLAC&aw_0_azn.planguage=en&aw_0_azn.pcountry=US&aw_0_azn.ptype=%5B%22Podcast%22%5D&aw_0_1st.ri=futurimedia&aw_0_1st.organization=iheart&aw_0_1st.pubDate=1667666652&listeningSessionID=0CD_382_308__9e48cd23338cd50d2cfd737fc714c6745e55c1af
[generic] KLAC-128k-pl-13691.m4a?awCollectionId=27246375&awEpisodeId=104189433&aw_0_azn.pgenre=Arts&aw_0_azn.pname=KLAC&aw_0_azn.planguage=en&aw_0_azn.pcountry=US&aw_0_azn.ptype=["Podcast"]&aw_0_1st.ri=futurimedia&aw_0_1st.organization=iheart&aw_0_1st: Downloading webpage
[info] KLAC-128k-pl-13691.m4a?awCollectionId=27246375&awEpisodeId=104189433&aw_0_azn.pgenre=Arts&aw_0_azn.pname=KLAC&aw_0_azn.planguage=en&aw_0_azn.pcountry=US&aw_0_azn.ptype=["Podcast"]&aw_0_1st.ri=futurimedia&aw_0_1st.organization=iheart&aw_0_1st: Downloading 1 format(s): fmp4
[download] Destination: IHR_Podcast_test.m4a
[download] 100% of   35.56MiB in 00:01:38 at 368.27KiB/s

😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-bug Issue with a specific website
Projects
None yet
Development

No branches or pull requests

5 participants