Ignore possible trailing :large - plumb - Open certain URL patterns with an ad-hoc opener (plumber)
 (HTM) hg clone https://bitbucket.org/iamleot/plumb
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) changeset 28b4fcee8ff9ea0c3ae1a008c33c225bdcba7ef9
 (DIR) parent 983b7cd4b740d2fb569899e08a3c2c82a8bafad2
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Fri,  3 Aug 2018 22:54:53 
       
       Ignore possible trailing :large
       
       It appears at least on Twitter og:image-s.
       
       Diffstat:
        openers/ogimage |  2 +-
        1 files changed, 1 insertions(+), 1 deletions(-)
       ---
       diff -r 983b7cd4b740 -r 28b4fcee8ff9 openers/ogimage
       --- a/openers/ogimage   Tue Jun 26 13:25:35 2018 +0200
       +++ b/openers/ogimage   Fri Aug 03 22:54:53 2018 +0200
       @@ -3,6 +3,6 @@
        for u in "$@"; do
               imgurl=$(curl -s -L "$u" |
                   xmllint --html --xpath '//meta[@property="og:image"]/@content' - 2>/dev/null |
       -           sed -e 's/^ content="//' -e 's/"$//' -e 's/\?.*$//' )
       +           sed -e 's/^ content="//' -e 's/"$//' -e 's/\?.*$//' -e 's/:large$//' )
               plumb "${imgurl}"
        done