[General] Update LMGTFY link #6255

Merged
madebylydia merged 3 commits from patch-1 into V3/develop 2023-11-06 21:57:55 +01:00
madebylydia commented 2023-10-07 15:53:51 +02:00 (Migrated from github.com)

Description of the changes

This PR propose to change the LMGTFY link from https://lmgtfy.app to https://letmegooglethat.com as it seems that the old domain seems to experience problems that will never be resolved.

It's been weeks since the HSTS error has been happening.

image

Also remove the s query parameter, it seems unused.

Have the changes in this PR been tested?

No, but should be fine.

### Description of the changes This PR propose to change the LMGTFY link from `https://lmgtfy.app` to `https://letmegooglethat.com` as it seems that the old domain seems to experience problems that will never be resolved. It's been weeks since the HSTS error has been happening. ![image](https://github.com/Cog-Creators/Red-DiscordBot/assets/61093863/0885b519-21ae-4b56-b93a-d82d1b980726) Also remove the `s` query parameter, it seems unused. ### Have the changes in this PR been tested? No, but should be fine.
Flame442 commented 2023-10-07 19:09:42 +02:00 (Migrated from github.com)

The old URL is still technically working, but it's certificates have expired which makes it very hard to actually use the site now. The s query param is used by that site to specify it should redirect to a google search, rather than some other search engine. The site you have changed it to may not support that option.

The new site redirects to gprivate.com instead of google.com. Considering it has an about page that is unfilled out, a merch page underneath, and redirects to a non-google site, I'm hesitant to say this site is entirely safe. Considering the history of this command, and the fact that there doesn't seem like a great replacement site, this might be time to just cut the command.

The old URL is still technically working, but it's certificates have expired which makes it very hard to actually use the site now. The `s` query param is used by that site to specify it should redirect to a google search, rather than some other search engine. The site you have changed it to may not support that option. The new site redirects to `gprivate.com` instead of `google.com`. Considering it has an about page that is unfilled out, a merch page underneath, and redirects to a non-google site, I'm hesitant to say this site is entirely safe. Considering the history of this command, and the fact that there doesn't seem like a great replacement site, this might be time to just cut the command.
madebylydia commented 2023-10-07 19:14:41 +02:00 (Migrated from github.com)

Tell me what's the taken decision and I'll make the changes. 👍

Tell me what's the taken decision and I'll make the changes. 👍
TrustyJAID commented 2023-10-07 21:36:24 +02:00 (Migrated from github.com)

I think it might be a good idea to just cut the middle man entirely and link straight to google instead. https://www.google.com/search?q={search_term} that way there's no issues and we maintain the functionality.

I think it might be a good idea to just cut the middle man entirely and link straight to google instead. `https://www.google.com/search?q={search_term}` that way there's no issues and we maintain the functionality.
Flame442 commented 2023-10-07 22:52:11 +02:00 (Migrated from github.com)

Yeah, I'd agree that's a good compromise.

Yeah, I'd agree that's a good compromise.
Jackenmen commented 2023-10-07 23:08:37 +02:00 (Migrated from github.com)

I don't agree with cutting the middle-man since it doesn't quite have the same power as "let me google that for you" animation but the letmegooglethat.com site (or googlethatforyou.com which is really the same thing) is not an acceptable choice either...

https://lmgtfy2.com seems to work nicely? Not sure if we want the variant with "Internet Explainer", I kinda like it but it may be too much lol

I don't agree with cutting the middle-man since it doesn't quite have the same power as "let me google that for you" animation but the `letmegooglethat.com` site (or `googlethatforyou.com` which is really the same thing) is not an acceptable choice either... https://lmgtfy2.com seems to work nicely? Not sure if we want the variant with "Internet Explainer", I kinda like it but it may be too much lol
TrustyJAID commented 2023-10-07 23:13:21 +02:00 (Migrated from github.com)

Sure it doesn't have the same power but is it really worth keeping around for a silly joke? I think cutting the middle-man also helps prevent potential abuse. For example what if whatever site we choose to use decides to let their domain lapse and someone else buys it to exploit anyone using that service? That's outside our control and leads to us having to find yet another alternative like we are now. I think the best approach would be just to leave the joke in the command name and skip this hassle in the future.

Sure it doesn't have the same power but is it really worth keeping around for a silly joke? I think cutting the middle-man also helps prevent potential abuse. For example what if whatever site we choose to use decides to let their domain lapse and someone else buys it to exploit anyone using that service? That's outside our control and leads to us having to find yet another alternative like we are now. I think the best approach would be just to leave the joke in the command name and skip this hassle in the future.
Jackenmen commented 2023-10-07 23:15:24 +02:00 (Migrated from github.com)

but is it really worth keeping around for a silly joke?

Absolutely.

However, we could also expand the command to do the explainer on its own :)

> but is it really worth keeping around for a silly joke? Absolutely. However, we could also expand the command to do the explainer on its own :)
madebylydia commented 2023-10-07 23:59:49 +02:00 (Migrated from github.com)

I understand both point of view. However, that would totally beat the command's joke to directly use Google's website. That's -1 from me. It's [p]lmgtfy, not [p]google. 😉

Also agree that lmgtfy2.com seems like the best option for now, but I also have little doubt to the website's future considering the copyright says "2022-2023", to take back on what @TrustyJAID said about website's availability.
I don't think it's really a bad thing nor a big time-consuming task to find another alternative to the LMGTFY provider, if needed.

I'll update the branch to use Jacknmen's host, but I'm still listening to talk regarding this change. Also, the command explanation required.

I understand both point of view. However, that would totally beat the command's joke to directly use Google's website. That's -1 from me. It's `[p]lmgtfy`, not `[p]google`. :wink: Also agree that `lmgtfy2.com` seems like the best option for now, but I also have little doubt to the website's future considering the copyright says "2022-2023", to take back on what @TrustyJAID said about website's availability. I don't think it's really a bad thing nor a big time-consuming task to find another alternative to the LMGTFY provider, if needed. I'll update the branch to use Jacknmen's host, but I'm still listening to talk regarding this change. Also, the command explanation required.
Flame442 (Migrated from github.com) approved these changes 2023-11-06 21:57:43 +01:00
Flame442 (Migrated from github.com) left a comment

Good enough for now, we can readdress this if (when) this site goes down.

Good enough for now, we can readdress this if (when) this site goes down.
BenCos17 commented 2023-11-08 22:08:34 +01:00 (Migrated from github.com)

happened to come across https://lmgt.org/ also just now browsing reddit which seems to also work btw

happened to come across https://lmgt.org/ also just now browsing reddit which seems to also work btw
DJTOMATO commented 2023-11-15 21:54:08 +01:00 (Migrated from github.com)

I've come across this project and has a demo we could use, which, doesn't track you, and actually redirects you to Google. https://github.com/NatoBoram/lmgtfy

https://natoboram.github.io/lmgtfy/search?q=Red-DiscordBot&btnK=Google+Search

https://github.com/Cog-Creators/Red-DiscordBot/pull/6007/commits

I've come across this project and has a demo we could use, which, doesn't track you, and actually redirects you to Google. https://github.com/NatoBoram/lmgtfy https://natoboram.github.io/lmgtfy/search?q=Red-DiscordBot&btnK=Google+Search https://github.com/Cog-Creators/Red-DiscordBot/pull/6007/commits
DJTOMATO commented 2023-11-15 23:25:19 +01:00 (Migrated from github.com)

Installed a test version
https://lmgtfy.lena.moe

import urllib.parse

search_string = "What is Red-DiscordBot"
encoded_search_string = urllib.parse.quote(search_string)

link = f"[Here's your link](https://lmgtfy.lena.moe/lmgtfy/search?q={encoded_search_string}&btnK=Google+Search)"
await ctx.send(link)
Installed a test version https://lmgtfy.lena.moe ```py import urllib.parse search_string = "What is Red-DiscordBot" encoded_search_string = urllib.parse.quote(search_string) link = f"[Here's your link](https://lmgtfy.lena.moe/lmgtfy/search?q={encoded_search_string}&btnK=Google+Search)" await ctx.send(link)
madebylydia commented 2023-11-15 23:43:29 +01:00 (Migrated from github.com)

You should consider making a new issue/create a new PR to consider changing the modification made from this PR.

You should consider making a new issue/create a new PR to consider changing the modification made from this PR.
Sign in to join this conversation.
No reviewers
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot!6255
No description provided.