pietervanheijningen / clickbait-remover-for-youtube

Replaces thumbnails and modifies titles of videos on youtube.com
https://chrome.google.com/webstore/detail/clickbait-remover-for-you/omoinegiohhgbikclijaniebjpkeopip
MIT License
373 stars 24 forks source link

Fix A/B tested thumbnails not updating #60

Closed sb-o closed 1 year ago

sb-o commented 1 year ago

Thumbnails were not updating if the image name was in the format hq720custom[0-9].

These might be the format for YouTube's new thumbnail A/B testing feature.

For example, the "lamborghini vs shredder" thumbnail below was not updating. Its URL was: https://i.ytimg.com/vi/vBpQ1SlfVtU/hq720_custom_3.jpg?sqp=...

before

It can be fixed by adding the format to the regexes.

after

pietervanheijningen commented 1 year ago

Hey! Thank you so much for noticing and making a PR! I just now noticed some places where those new thumbnails are not replaced even with this PR. Seems like an easy fix, so i'll fix that real quick and then publish this all in a new version asap!

Thanks again!