HermanFassett / youtube-scrape

Scrape YouTube searches (API)
MIT License
192 stars 96 forks source link

Handle possible error #64

Open flaviotordini opened 3 years ago

flaviotordini commented 3 years ago

the regex may fail and it does sometimes fail. Move the match inside the try block in order to throw a proper error.