youtube-dl icon indicating copy to clipboard operation
youtube-dl copied to clipboard

Blerp

Open upintheairsheep opened this issue 1 year ago • 13 comments

Checklist

  • [x] I'm reporting a new site support request
  • [x] I've verified that I'm running youtube-dl version 2021.12.17
  • [ ] I've checked that all provided URLs are alive and playable in a browser
  • [ ] I've checked that none of provided URLs violate any copyrights
  • [x] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

  • Sound: https://blerp.com/soundbites/6320fe8745636cb4dd677a5a
  • Another Sound: https://blerp.com/soundbites/5bc94ef4796001000498429f
  • User: https://blerp.com/u/the_mariocrafter_csed5x
  • Search: https://blerp.com/search?q=Friday-Night-Funkin-&r=R
  • Category: https://blerp.com/categories/sound-effects

Description

Blerp is a popular soundboard service. This site actually use json+ld too but the generic extract twitter:player (maybe because it listed first ?). Not tested yet, but i assume backporting https://github.com/yt-dlp/yt-dlp/pull/4517 will work (with filtering the ie). json ld:

 <script type="application/ld+json">
      [{
        "@context": "http://schema.org",
        "@type": ["MediaObject", "AudioObject", "CreativeWork", "MusicRecording"],
        "url": "https://blerp.com/soundbites/5bc94ef4796001000498429f",
        "byArtist": {
          "@type": "MusicGroup",
          "name": "179617322678353920",
          "@id": "https://blerp.com/user/5ba99cf71386730004552c42"
        },
        "embedUrl": "https://blerp.com/embed/5bc94ef4796001000498429f",
        "encodingFormat": "audio/mpeg",
        "name": "Yee",
        "image": "https://cdn.blerp.com/thumbnails/4cd92b90-195b-11e9-944f-470c2f71db8e",
        "keywords": "YEE,YEET,wo ha haah catchy tune yee,yee",
        "contentUrl": "https://cdn.blerp.com/normalized/cd4e4a10-d34e-11e8-a867-4741c3fed662"
      }]
    </script>

This probably should be being picked up by generic, and preferred over the twitter:player. There might be an issue with the core JSON LD extraction (might be to do with it being a list?)

upintheairsheep avatar Nov 09 '22 17:11 upintheairsheep