Unable to scrap text from website

Joined
Mar 5, 2016
Messages
1
Reaction score
0
Hi all,

I am a beginner at this. I am trying to use Automator to scrap text data from several web pages. I want the Automator to get the web page from safari, get all the link URLs from this web page that contain particular texts in their URL and then extract the text from all these link URLs. The Automator workflow I am working with keeps returning the error and I cannot understand why:

NSURLErrorDomain error -999.

The website I am scrapping is http://www.myneta.info/ls2014/. The link URLs that I am interested in contain the text " http://www.myneta.info/ls2014/index.php?action=show_candidates&constituency_id= " in them.

Attached along is a snapshot of the workflow with the error. Any help will be greatly appreciated.

Thanks,
Tushar.
 

Attachments

  • Screenshot 2016-03-04 19.10.41.png
    Screenshot 2016-03-04 19.10.41.png
    131.5 KB · Views: 495
Hello and welcome.

I am not very experienced with AppleScript or Automator, and what you are trying to accomplish is over my head.

You could try posting your question over at MacScripter, as those folks have a lot of experienced AppleScript/Automator users.

Sorry I couldn't have been more help,

C
 
Back
Top