Created
August 14, 2014 20:19
-
-
Save Mec-iS/41512b072baaa2cfa65e to your computer and use it in GitHub Desktop.
Quickscrape's scrapers definition for nasasearch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"url": "nasasearch.nasa.gov", | |
"elements": { | |
"title": { | |
"selector": "//div[@id='search']/div[@id='results']/div[@class='searchresult']/h2/a", | |
"attribute": "text" | |
}, | |
"link": { | |
"selector": "//div[@id='search']/div[@id='results']/div[@class='searchresult']/h2/a", | |
"attribute": "href" | |
}, | |
"abstract": { | |
"selector": "//div[@id='search']/div[@id='results']/div[@class='searchresult']/h3[not(@id) and not(@class)]", | |
"attribute": "text" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment