Commit ad9a773c authored by Committed by Lars Magne IngebrigtsenBrowse files
Allow preferring some media types over others
* 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.
Showing with 68 additions and 2 deletions