Jump to content
UBot Underground

replacing a previously scraped file with a wildcard.


Recommended Posts

I scrape a webpage add this to a list.

 

What i want to do is to be able to replace completely the data found within a meta-description tag with my own. However this value changes each time a page loads, and could be different across the different sites depending on the way the tag has been written.

 

 

Therefore is there a way that I can use the $replace function using a wildcard to say

 

Replace all the text found between these tags in a webpage with X. An example might be <DIV> </DIV>

 

I am having problems with this.

 

Thanks

Ninjaman

Link to post
Share on other sites
  • 4 weeks later...

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...