-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
data18 doesn't work #735
Comments
Try Template Modify Terms Regex |
This happened also some urls are outdated, https://www.youtube.com/results?search_query={searchTerms} these are from Swift Selection Search and they are much more clean and up to date urls. edit: |
What search terms are you using? I don't know how you're getting those result URLs from search terms. It's like the URL is duplicated 3 times. If you use |
https://www.data18.com/name/{searchTerms} is not enough.
Chatgpt didn't help. Here's chatgpt's suggestion.
"Post-Search Script: Use this updated Post-Search Script to apply the transformation to the term before it's encoded by the browser or extension:
let searchTerm = params.terms; // Get the current search term
searchTerm = searchTerm.replace(/\s+/g, '-'); // Replace spaces with hyphens
searchTerm = searchTerm.toLowerCase(); // Convert to lowercase
params.terms = searchTerm; // Set the modified term back to params.terms
// Now, manually update the URL without relying on the template encoding
params.url = params.url.replace("{searchTerms}", params.terms);
Explanation:
Replace spaces with hyphens (searchTerm.replace(/\s+/g, '-')).
Convert to lowercase (searchTerm.toLowerCase()).
Force the URL to update with the modified search term before it’s encoded."
But I get "https://www.data18.com/name/Adriana%20Chechik" instead of https://www.data18.com/name/adriana-chechik
"Selection Search" worked with only changing data18 url to "https://www.data18.com/name/{%s|replace:/\s+/-/g|lower}" but this extension doesn't have that option. Problem with Selection Search is that it doesn't have Multiple Links Search function.
Chatgpt told me to write a tampermonkey script but it didn't work and data18 page kept refreshing itself.
The text was updated successfully, but these errors were encountered: