firecat53 / urlscan

Mutt and terminal url selector (similar to urlview)
GNU General Public License v2.0
214 stars 38 forks source link

Deduplication behaves weirdly #49

Closed basxto closed 6 years ago

basxto commented 6 years ago

Expected behavior:

...
 dabascht  ~  
 dabascht  ~  tmux capture-pane -p | urlscan -d
 dabascht  ~  mpv --no-video --loop "<URL> [1]"
Playing: <URL> [1]
 (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
...

[1]   < https://www.youtube.com/watch?v=sTal8O7uMxg >

How it's actually done:

...
 dabascht  ~  
 dabascht  ~  tmux capture-pane -p | urlscan -d
 dabascht  ~  mpv --no-video --loop "<URL> [1]"
Playing:
 (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
...

[1]   < https://www.youtube.com/watch?v=sTal8O7uMxg >

OS: ArchLinux Terminal: germinal + tmux Executed as: tmux capture-pane -p | urlscan -d

firecat53 commented 6 years ago

And finally...a fix pushed to develop for this issue. Let me know if it works normally for other cases as well!

basxto commented 6 years ago

I tried it with the bottom line of awesome's man page and it works like a charm man awesome | BROWSER=w3m urlscan -d

AUTOREN
       Julien Danjou <julien@danjou.info[1]> und andere.

WWW
       https://awesomewm.org

NOTES
        1. julien@danjou.info
           mailto:julien@danjou.info
...

AUTOREN
       Julien Danjou <URL> [1][1]> und andere.

WWW
       <URL> [2]

NOTES
        1. <URL> [1]
           <URL> [1]

...

[1]   < mailto:julien@danjou.info >
[2]   < https://awesomewm.org >

Also man wget | BROWSER=w3m urlscan -d looks good