• Rüdiger Sonderfeld's avatar
    Allow preferring some media types over others · ad9a773c
    Rüdiger Sonderfeld authored
    * net/shr.el (shr-prefer-media-type-alist): : New customizable
    variable.
    (shr--get-media-pref): New function.
    (shr--extract-best-source): New function.
    (shr-tag-video, shr-tag-audio):  Use `shr--extract-best-source' when
    no :src tag was specified.
    ad9a773c
shr.el 54 KB