Skip to content

Support new ARD Audiothek URL format with URN identifiers#11

Open
wieland-s wants to merge 1 commit intofbngrmr:mainfrom
wieland-s:new_url_format
Open

Support new ARD Audiothek URL format with URN identifiers#11
wieland-s wants to merge 1 commit intofbngrmr:mainfrom
wieland-s:new_url_format

Conversation

@wieland-s
Copy link

Description

Fixes support for new ARD Audiothek URL format that uses URN identifiers instead of numeric IDs.

Changes

  • Updated regex patterns in extractQueryId() to support both old and new URL formats

Examples:

  • Old format: https://www.ardaudiothek.de/sendung/pumuckl-der-hoerspiel-klassiker/72249258/
  • New format: https://www.ardaudiothek.de/sendung/felix-salten-bambi-komplette-lesung/urn:ard:show:566ea535038a4c82/

! Not very well tested !

Closes #10

@mattsches
Copy link

I applied the patch locally and tested it, it works with some programs/collections, which is great!

But it could not download some single epidoses I tried to download.

@wieland-s
Copy link
Author

I applied the patch locally and tested it, it works with some programs/collections, which is great!

But it could not download some single epidoses I tried to download.

Did you have an example?

@mattsches
Copy link

I've just tried it again, and as it turns out, it was an episode that cannot be downloaded at all. So not an actuall issue here.

It would be nice to get a corresponding message on the command line, but in principle you have to check beforehand whether the episode is available for download at all, I guess.

Tested your patch with some more programs, and they all worked fine 👍

@BenjaminHerbert BenjaminHerbert mentioned this pull request Dec 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New URL-Format

2 participants