JeffreyATW / mbfc_icon

Chrome/Firefox extension to show an icon representing status on Media Bias/Fact Check.
http://jeffreyatw.com/blog/2016/11/check-news-bias-with-a-simple-browser-icon/
MIT License
16 stars 2 forks source link

More specific matching #4

Closed johnskopis closed 4 years ago

johnskopis commented 6 years ago

I noticed that backchannel.com redirects to https://www.wired.com/category/backchannel/

I'm not sure how many other sources are like this. Maybe it's useful to implement path based matching on domains with a fallback to the domain?

Also, I noticed cnn.com redirects to edition.cnn.com so there is no data. Maybe it makes sense to lookup the domain from most specific to least specific, e.g. lookup(my.contrived.example.news.site.com) => lookup(contrived.example.news.site.com) => lookup(example.news.site.com) => lookup(news.site.com) => lookup(site.com) => MATCH(site.com)