julius-hipolito / mhw-companion-streamlabs

MHW Companion for StreamLabs ChatBot
MIT License
1 stars 0 forks source link

MemeSet URL in chat is not a full URL. #4

Closed julius-hipolito closed 5 years ago

julius-hipolito commented 5 years ago

When using the meme command, we get urls that are broken.

See attached images.

Is it possible to create a bit.ly link for the URL?

julius-hipolito commented 5 years ago

Not sure if this is still valid, but we could use bitly APIs in a LevelHeadedGamers bitly account. Let me know what you think. I'll create a levelheadedgamers account later today and pass the information on to you.

References: https://www.geeksforgeeks.org/python-how-to-shorten-long-urls-using-bitly-api/

https://dev.bitly.com/

julius-hipolito commented 5 years ago

Actually... Thinking it over.... Since Bitly urls do not expire, why not create the a dictionary with full url to Bitly url? And just post the bitly url when the command is called.

I created a bitly account with the new levelheadedgamers gmail account.