evanhyd / MeowyPlayer

MIT License
20 stars 5 forks source link

Use goquery instead of regex to scrape youtube search results #2

Closed wengh closed 1 year ago

wengh commented 1 year ago

Should make it a bit more robust in case they update the website, also easier to fix

Testing

copilot:poem

evanhyd commented 1 year ago

Upon this afternoon's testing, it seems Clipzag is not a reliable website to obtain youtube's search results. For example, the entry "chicken nugget" returns no result at all. We need to find an even more robust way to obtain video resources. This will take a long, but worth a shot.