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

Parsing channel params with same multiple same elements but different values squashes all values to 1 field #297

Open
radzhome opened this issue Dec 22, 2021 · 0 comments

Comments

@radzhome
Copy link

In the case of this feed:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jwplayer="http://rss.jwpcdn.com/">
<channel>
  <title>pnvdriving</title>
  <description>PNVideo playlist to bridge to YouTube</description>
  <jwplayer:kind>DYNAMIC</jwplayer:kind>
  <jwplayer:feedid>u0iPtP89</jwplayer:feedid>
  <jwplayer:feed_instance_id>8cff50dc-e67e-480a-b81c-ebf2cab00288</jwplayer:feed_instance_id>
  <jwplayer:link rel="next" href="https://cdn.jwplayer.com/v2/playlists/123?format=mrss&amp;internal=false&amp;page_offset=11&amp;page_limit=10"/>
  <jwplayer:link rel="first" href="https://cdn.jwplayer.com/v2/playlists/123?format=mrss&amp;internal=false&amp;page_offset=1&amp;page_limit=10"/>
  <jwplayer:link rel="last" href="https://cdn.jwplayer.com/v2/playlists/123?format=mrss&amp;internal=false&amp;page_offset=1584&amp;page_limit=10"/>
  <item>
 ....

The jwplayer:link gets parsed into a single jwplayer_link key and only for rel=last.. but I was expecting all 3 to be present in a list perhaps.

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

No branches or pull requests

1 participant