laurengarcia / url-metadata

NPM module: Request a url and scrape the metadata from its HTML using Node.js or the browser.
https://www.npmjs.com/package/url-metadata
MIT License
166 stars 43 forks source link

add title #59

Closed abelorian closed 1 year ago

abelorian commented 1 year ago

Check one:

Steps to reproduce (if bug):

  1. get metadata from 'https://www.rubydoc.info/github/heartcombo/devise/main/Devise/Models/Confirmable'
  2. metadata.title is empty

Feature request:

Set 'title' from <head><title> Module: Devise::Models::Confirmable — Documentation for heartcombo/devise (main) </title></head>

Please attach screenshots if helpful

laurengarcia commented 1 year ago

Looks good. Merged. Bumped to v3.2.0 https://www.npmjs.com/package/url-metadata?activeTab=versions