sindresorhus / article-title

Extract the article title of a HTML document
MIT License
54 stars 7 forks source link

https://www.yahoo.com returns nothing #5

Closed MarkRogersEx closed 4 years ago

MarkRogersEx commented 4 years ago

Yet when I visit the site I can see it has a title tag. My lib (get-title-at-url) uses your lib, and a user reported that nothing was coming out for yahoo.com and I tested and confirmed.

I looked at the output and verified it was empty. I checked to make sure it was getting content back from yahoo.com and it was. I visually scanned yahoo.com's html output and confirmed it has a title tag. As far as I can tell its not superficially different from other sites.

For some reason the article-title doesn't like yahoo. I know you are probably busy, but figured I would report it, since someone reported it to me.

sindresorhus commented 4 years ago

I have added a test that shows that it's working.

MarkRogersEx commented 4 years ago

allright, thanks for looking. I'll see if I can reproduce.