Hi Samuel,
the official feed of the German public news channel tagesschau (tagesschau.de - Die Nachrichten der ARD) has an annoying behavious since around three months ago: In the expanded/text view, the text is interrupted with what appears to be code, specifically an HTML tag for media embeds. Most articles are close to unreadable because they are interrupted with such text after every other paragraphs.
For example, this article has seven such embedded texts.
Could you have a look at the logic for parsing out tags? My hunch is that the reason is that the elements with eithre their extremely long attributes (more than 12000 characters) or their encoded values somehow break the parser. I’ve included an example for the text below; the actual text shown in newsblur begins with ","params":
and ends with MediaPlayer>
.
Thank you!
<div class="v-instance preloadingskeleton--mediaplayer--1x1"
data-v="{"pc":{"web":{"baseUrl":"/resources/assets/js/vendor/ardplayer/","isForcedAutoPlay":false,"isEnablePostMessage":false,"isForcedVideoView":true,"disableBackButtonTitle":true,"disablePosterTitle":true,"disablePosterImage":true},"generic":{"imageTemplateConfig":{"size":[{"minWidth":0,"value":"https://images.tagesschau.de/image/136a21dc-8b25-48ef-8708-8266d614781a/AAABlF5uwuI/AAABkZLnQzw/1x1-144/andrij-sybiha-100"},{"minWidth":144,"value":"https://images.tagesschau.de/image/136a21dc-8b25-48ef-8708-8266d614781a/AAABlF5uwuI/AAABkZLngyM/1x1-256/andrij-sybiha-100"},{"minWidth":256,"value":"https://images.tagesschau.de/image/136a21dc-8b25-48ef-8708-8266d614781a/AAABlF5uwuI/AAABkZLnxOE/1x1-432/andrij-sybiha-100"},{"minWidth":432,"value":"https://images.tagesschau.de/image/136a21dc-8b25-48ef-8708-8266d614781a/AAABlF5uwuI/AAABkZLoHlI/1x1-640/andrij-sybiha-100"},{"minWidth":640,"value":"https://images.tagesschau.de/image/136a21dc-8b25-48ef-8708-8266d614781a/AAABlF5uwuI/AAABkZLoaiw/1x1-840/andrij-sybiha-100"}]},"isAutoplay":false},"pluginData":{}},"mc":{"streams":[{"media":[{"url":"https://media.tagesschau.de/video/2025/0113/TV-20250113-1007-0400.webs.h264.mp4","mimeType":"video/mp4","maxHResolutionPx":480,"audios":[{"kind":"standard","languageCode":"de"}],"isAdaptiveQualitySelectable":true},{"url":"https://media.tagesschau.de/video/2025/0113/TV-20250113-1007-0400.webm.h264.mp4","mimeType":"video/mp4","maxHResolutionPx":640,"audios":[{"kind":"standard","languageCode":"de"}],"isAdaptiveQualitySelectable":true},{"url":"https://media.tagesschau.de/video/2025/0113/TV-20250113-1007-0400.webl.h264.mp4","mimeType":"video/mp4","maxHResolutionPx":960,"audios":[{"kind":"standard","languageCode":"de"}],"isAdaptiveQualitySelectable":true},{"url":"https://media.tagesschau.de/video/2025/0113/TV-20250113-1007-0400.webxl.h264.mp4","mimeType":"video/mp4","maxHResolutionPx":1280,"audios":[{"kind":"standard","languageCode":"de"}],"isAdaptiveQualitySelectable":true},{"url":"https://media.tagesschau.de/video/2025/0113/TV-20250113-1007-0400.webxxl.h264.mp4","mimeType":"video/mp4","maxHResolutionPx":1920,"audios":[{"kind":"standard","languageCode":"de"}],"isAdaptiveQualitySelectable":true},{"url":"https://adaptive.tagesschau.de/i/video/2025/0113/TV-20250113-1007-0400,.webm.h264.mp4,.webxxl.h264.mp4,.webxl.h264.mp4,.webl.h264.mp4,.webs.h264.mp4,.csmil/master.m3u8","mimeType":"application/vnd.apple.mpegurl","audios":[{"kind":"standard","languageCode":"de"}],"isAdaptiveQualitySelectable":true}],"kind":"main","isAudioOnly":false}],"meta":{"images":[{"url":"{size}.webp","kind":"preview","title":"Andrij Sybiha | Vassili Golod, ARD Kiew","alt":"Andrij Sybiha"},{"url":"{size}.jpg","kind":"preview","title":"Andrij Sybiha | Vassili Golod, ARD Kiew","alt":"Andrij Sybiha"}],"title":"Interview mit dem ukrainischen Außenminister Andrij Sybiha"},"pluginData":{"sharing@web":{"link":"https://www.tagesschau.de/multimedia/video/video-1422250.html","body":"Link-Tipp: Interview mit dem ukrainischen Außenminister Andrij Sybiha | tagesschau.de (tagesschau.de) $link","subject":"Link-Tipp: Interview mit dem ukrainischen Außenminister Andrij Sybiha | tagesschau.de (tagesschau.de)","disableSubclipping":true,"services":["facebook",{"id":"whatsapp","title":"Auf Whatsapp teilen","class":"whatsappSpecial","target":"https://api.whatsapp.com/send?text=$text$","targetParams":{"text":"Link-Tipp: Interview mit dem ukrainischen Außenminister Andrij Sybiha (tagesschau.de) $link$"}},"fb-messenger","twitter","telegram","threema","url","embed"],"embedCode":"<iframe src=\"https://www.tagesschau.de/multimedia/video/video-1422250~player.html$params$\" width=\"512\" height=\"288\" allowfullscreen frameBorder=\"0\" scrolling=\"no\"></iframe>","params":"?startTime=$start$&endTime=$ende$","legal":"Durch die Einbettung von ARD-Videos auf Ihrer Webseite stimmen Sie den <a href=\"https://www.ardmediathek.de/ard/nutzungsbedingungen\" target=\"_blank\">ARD Nutzungsbedingungen</a> zu.","embedDialogTitle":"Inhalt einbetten"},"download@web":{"isEnabled":true},"trackingSAND@all":{"SANDEnabled":true,"SANDDebug":false,"mcdnType":"DNS","av_content_id":"video-1422250","reporting":[{"limiter":{"endpoint":"https://sand.ard.de/auth/sand-token.json?apiKey=tagesschau24"},"endpoints":["https://sand-hub.ard.de/v1/projects/deo-mpm-prod-359708/topics/sand-topic:publish"],"metrics":["RepSwitch","BufferLevel","Playback","Misc","LiveEdgeDelay","ErrorMetric","StartupTime"],"schemeIdUri":"urn:mpeg:dash:sand:channel:gcp:xhr:2021"},{"limiter":{"endpoint":"https://sand.ard.de/auth/sand-token.json?apiKey=tagesschau24"},"endpoints":["https://sand-hub.ard.de/v1/projects/deo-mpm-prod-359708/topics/sand-beacon:publish"],"metrics":["Beacon"],"schemeIdUri":"urn:mpeg:dash:sand:channel:gcp:xhr:2021"}],"configuration":{"customerID":"tagesschau24","enableHeaderReporting":true,"payloadTypeEnums":["text/xml","text/json"],"payloadType":"text/json","defaults":{"metricInterval":15000,"reportingInterval":15000,"miscInterval":60000,"headInterval":30000,"errorTimeout":60000,"beaconInterval":30000},"adaptiveInterval":{"init":60000,"metricInterval":30000,"reportingInterval":30000,"threshold":{"bufferLevelFactor":0.66,"liveEdgeDelayFactor":0.66,"memoryUsageFactor":0.66}}}},"trackingPiano@all":{"config":{"dimensionTransform":{"av_autoplay":"av_auto_mode"},"events":["av.speed","av.quality","av.error","av.volume","av.volume.mute","av.share","av.dialog.open","av.dialog.close","av.playermode","av.jumpmark","av.subtitle","av.language","av.audiodescription","av.signlanguage","av.set.sleeptimer","av.playlist","av.embed.click","av.embed.title","av.recommendation"]},"avContent":{"atiTagConfig":{"site":595936,"collectDomain":"https://logs1413.xiti.com","addEventURL":"true"},"site_level2":"www.tagesschau.de","d:content_publication_time":"2025-01-14T18:01:44Z","d:content_last_editorial_update":"2025-01-14T18:01:44Z","product_login":true,"content_days_since_publication":0,"b:page_contains_video":true,"b:page_contains_audio":true,"s:page_chapter1":"ausland","s:page_chapter2":"europa","s:tgp_content_teaser_image_url":"https://images.tagesschau.de/image/a21aa02f-aeaf-45f1-bc66-971dcdcb795c/AAABlGUS6OU/AAABkZLrr6A/original/soldat-ukraine-114.jpg","site":"Tagesschau Online","site_id":595936,"product_distribution":"Web","page":"Warum viele Ukrainer die Militärführung kritisieren","page_broadcast_reference":"ja","page_categories":"Ukraine|Armee","content_object_type":"Artikel","content_id":"ukraine-militaer-kritik-100","content_url_path":"/ausland/europa/ukraine-militaer-kritik-100.html","content_import_id":"c6b5302e-c510-4104-8be0-fac0ce27cdcb","content_authors":["tagesschau"],"content_breaking_news_sent":false,"av_content":"Interview mit dem ukrainischen Außenminister Andrij Sybiha","av_content_id":"video-1422250","av_content_duration":829000,"av_content_type":"Video","av_broadcasting_type":"Clip","av_show":"tagesschau24","av_sign_language":false,"av_player":"ARD Player","d:av_publication_date":"2025-01-13T10:25:04Z","av_full_show":false,"av_web_only":false,"d:av_original_air_time":"2025-01-13T09:00:00Z","av_gsea":"tagesschau","av_url":"https://www.tagesschau.de/multimedia/video/video-1422250.html"}},"trackingAgf@all":{"appId":"PE6FF1BB7-FE88-4674-B083-2772ADAD55E9","playerID":"video-1422250","clipData":{"type":"content","assetid":"video-1422250_0","program":"tagesschau24","length":"829","title":"Tagesschau24_tagesschau24_Interview mit dem ukrainischen Außenminister Andrij Sybiha_2025.01.13 10:25:04","nol_c0":"p0,0","nol_c2":"p2,N","nol_c5":"p5,https://www.tagesschau.de/multimedia/video/video-1422250.html","nol_c7":"p7,video-1422250","nol_c9":"p9,tagesschau24_Interview mit dem ukrainischen Außenminister Andrij Sybiha_2025.01.13 10:25:04","nol_c10":"p10,Tagesschau24","nol_c12":"p12,Content","nol_c16":"p16,ARD_Information","nol_c18":"p18,N"},"sfcode":"eu","prod":"vc","apn":"ardplayer","agfMetaDataSDK":{"censuscategory":"Tagesschau24_tagesschau24_Interview mit dem ukrainischen Außenminister Andrij Sybiha_2025.01.13 10:25:04","livestream":"no"}},"jumpmarks@all":{}}},"mediadescription":"Interview mit dem ukrainischen Außenminister Andrij Sybiha","playerType":"video","ratio":"1x1","buttonType":"cornered","context":"teaser_absatz"}"
data-v-type="MediaPlayerInlinePlay">
</div>