On some pages meta tags are included outside of the head tag. For example on the YouTube channel page: https://www.youtube.com/c/Freecodecamp
As the opengraph extractor only looks in the head tag, all the og:* meta properties are missed.
In my fork, I changed the extractor to look in the body rather.
If I get permission, I can do a PR?
Here is a link to where I made the change:
|
for head in document.xpath('//head'): |