Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searchregexplist for Youtube and Kiddle Search Terms #739

Open
Dalacor opened this issue Jul 31, 2022 · 2 comments
Open

Searchregexplist for Youtube and Kiddle Search Terms #739

Dalacor opened this issue Jul 31, 2022 · 2 comments
Assignees

Comments

@Dalacor
Copy link

Dalacor commented Jul 31, 2022

Kiddle Search Engine

To add search terms check for kiddle.co add the following:

"^http://www.kiddle.co/s.php\?q=([^&]*)\&.*"->"\1"
"^http://www.kiddle.co/s.php\?q=([^&]*)"->"\1"

Kiddle is a search engine that is suitable for kids up to age 12.

Youtube

Youtube have unfortunately changed how searches are carried out. The command below:

"^http://[0-9a-z]+.youtube.[a-z]+[-/%.0-9a-z]?search_query=([^&]).*"->"\1"

Does not work at all. I have tried a number of different urls and syntaxes, but unfortunately cannot get Youtube searches to show entry in Search Term field. I think it's because Youtube now creates a key= which contains an encrypted result of the search term so E2guardian can't read the result.

@philipianpearce
Copy link
Contributor

Thanks for info on kiddle.co - I will add to example file.

With youtube I had come to the same conclusion as you. However, the link in the browser changes to a readable url, which is not passed through e2g unless user refreshes browser. If we can pick-up some how in the response how this is set ( html header?? js??) we may be able take search term from there in next release.

@Dalacor
Copy link
Author

Dalacor commented Aug 8, 2022

Google is very problematic because every year or two, they keep changing how their websites work. Google.co.uk does work and that is probably far more important. Youtube search is less relevant because of Youtube Safe mode. So not the end of the world if this cannot be fixed especially as Youtube may well change how it works to match the way google.co.uk works in future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants