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

Google Search and Youtube Search results in Log file #623

Open
Dalacor opened this issue Aug 19, 2020 · 3 comments
Open

Google Search and Youtube Search results in Log file #623

Dalacor opened this issue Aug 19, 2020 · 3 comments
Assignees

Comments

@Dalacor
Copy link

Dalacor commented Aug 19, 2020

Using the new 7/8 log format Search Terms field I have noticed something rather interesting.

If you go to google and type "cats" it will show cats in Search Terms. However in Youtube typing "cats" will show "c" in Search Terms, then "ca" on next line in Search Terms, then "cat" on next line, then "cats" on next line and "cats on two more lines!

Is this a bug or is Youtube refreshing the page after each letter?

@philipianpearce
Copy link
Contributor

Youtube javascript is doing completion suggestions, so one request per letter.

To fix find what the 'complete' url is for Youtube and then add it to lists/common/searchexceptionregexplist. This will stop these 'part searches' being detected and logged as searches.

Google has already an entry in this sample file so that is why the behavour is different.

@Dalacor
Copy link
Author

Dalacor commented Sep 9, 2020

Thank you. I will make the necessary changes and see if this works. Would it not make sense to implement this into the default config as you obviously managed to get this to work for all users for Google.

@philipianpearce
Copy link
Contributor

Yes, I will have a look at it.

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

No branches or pull requests

2 participants