Jump to content
UBot Underground

How to scrape Meta Description


Recommended Posts

Thank you for the response BotBuddy. My issue is I have a list of URL's that I want to grab the meta keywords and description for each one.

 

It grabs the first URL's meta data and thats it. When using the $meta keyword nodes do they just pick up the metadata automatically if a site has it listed in it's head tags?

Link to post
Share on other sites
  • 5 weeks later...
  • 9 months later...

any updates on the usage of $metadata with ubot4, the attached ex code is not valid for 4...

 

I use

 

set(#metadesc, $scrape attribute(<outerhtml=w"<meta name=\"description\" *>">, "content"), "Global")

 

for meta description and presumably similar would work for any other meta stuff like keywords

 

hope that helps

 

Chris

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...