clearyy / discord-link-opener

Automatically open browser tabs when links matching given constraints are sent in discord channels.
GNU General Public License v3.0
48 stars 27 forks source link

Not opening a link #9

Open DownShep opened 3 years ago

DownShep commented 3 years ago

Have setup using Python 3.9.3 and most recent code (25th March) and from the feed I have set up I get the title for a new alert yet the browser does not open the link.

For example : image

I simply get : "€529.54 | ASUS TUF Gaming NVIDIA GeForce RTX 3060 OC Edition Grafikkarte (PCIe 4.0, 12 GB GDDR6, HDMI 2.1, DisplayPort 1.4a, Dual-Kugellüfter, Militärzertifizierung, GPU Tweak II) | <@&790173515122868264> <@&790178382800486402>" posted in the Python window (note no mention of trying to open a URL).

Any suggestions to correct this very much appreciated.

Thanks, DownShep

DownShep commented 3 years ago

Python 'discord-link-opener' not opening Discord link.pdf

Additional information showing screens with what see on Python + structure of one of the alerts on Discord.

DownShep commented 3 years ago

image image

I note that the link field is the only one with a section beneath it within the 'div' where the actual link sits (anchor) where for all the other embedfield names and value are at the top level of that field. Not sure if that makes any difference in finding http within the field?