SIlver-- / remindmebot-reddit

MIT License
364 stars 36 forks source link

Bot shows links incorrectly #15

Open wokste opened 6 years ago

wokste commented 6 years ago

The bot isn't showing all links correctly anymore. The problem might be related with spaces in the url and/or with the new reddit layout.

Url: https://www.reddit.com/r/FATErpg/comments/8dw8k1/amber_using_fate/ Appearance: screenshot error Reddit layout: new layout Browser: Firefox Plugins: UBlock origin, multi-account containers.

jewel-andraia commented 6 years ago

Yes, the bot should be using + or %20 instead of literal space in the links. More generally, the content of the links should be uri-encoded: https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote

RulerOf commented 5 years ago

Another example of this issue: https://www.reddit.com/r/DataHoarder/comments/c3mahr/please_stop_posting_photos_of_your_hard_drives/ers3jq9