Can't get anything to scrape
-
I’ve been playing around with the sandbox and can’t get anything in the output to show up. Here are some basic queries I have tried:
[wpws url=”https://mongolia.gogo.mn/r/145155″ query=”h1″ output=”text” ]
Simple query to get the title of the news article in text.[wpws url=”https://ubpost.mongolnews.mn/?p=13892″ query=”.alignleft, .size-medium” ]
Query to try to return the images associated with the article.Is this an issue with the CSS selector? I’m really not sure why this isn’t working. Just to make sure it wasn’t a sandbox issue I pasted the shortcode into a page and saved/cleared my cache to see if it displayed anything. Nada. Not sure what is happening!
Any help is appreciated. My goal is to eventually build a callback to capture image URL’s, then download and set those images as the featured image for the post in question. Thanks!
- The topic ‘Can't get anything to scrape’ is closed to new replies.