-
Notifications
You must be signed in to change notification settings - Fork 7
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 Changed HTML Structure - 'delims' constants are off now #16
Comments
@DaveStoneDotNet, Yes it does seem like for some songs, the layout of the page has changed. Other songs are working fine, for example:
I will update the repo if I find the time |
any news |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there busy, awesome developer person.
Not sure if you're still interested or if this repo is dead, but it looks like Google changed their HTML structure recently (March 2023) and your delims are now off.
Please see LINE 29 in
/src/lib/index.ts
... which are referenced on LINE 63...
return searchResult.split(delims[0])[1].split(delims[1])[0];
As of today, March 21, 2023, the HTML structure should look something like the HTML results shown below...
... etc ...
At least... I think that might be somewhere around what's going on. (I only looked at it for about 5 minutes.)
Oh the perils of scraping.
Anyway. Not sure if you were no longer interested, or if you still wanted to ....
work, work, work, work, work, work
... on it.Either way. Thanks, and wish you all the best.
The text was updated successfully, but these errors were encountered: