Jason Cochran

Results 30 comments of Jason Cochran

so far i have this in content.js: ``` javascript chrome.runtime.onMessage.addListener( function(request, sender, sendResponse) { if( request.message === "clicked_browser_action" ) { var firstHref = $("a[href^='http']").eq(0).attr("href"); console.log(firstHref); console.log("window: ", window); var jobList...

I got it to work! So I added "build/artoo.chrome.js" to the list of scripts: ``` javascript "content_scripts": [{ "matches": ["http://*/*", "https://*/*"], "js": ["chrome/jquery-2.2.0.min.js", "build/artoo.chrome.js", "chrome/content.js" ], "run_at": "document_end" }], ```...

I am attempting to scrape https://www.linkedin.com/vsearch/j?orig=JSHP&keywords=PHP+Developer&distance=50&locationType=I&countryCode=us&trk=two_box_geo_fill. I want to grab the job title, company, etc. from the detail pages. I can get the array of links on the page. Then...

I am using Google Chrome v48.0.2564.82 m.

No, I get the same thing as yesterday; an empty result. Here is the project: https://www.dropbox.com/s/rw94ggly2j9jyq4/artoo.zip?dl=0

``` javascript [ [ { "title": "", "author": "" } ], [ { "title": "", "author": "" } ] ] ```

I commented out everything else and just ran the following directly on the detail page and it works fine. ``` javascript var data = artoo.scrape('body', { title: { sel: 'h1'...

Are there any known problems with using Jquery 2.2.0?

I still cannot get the detail page scraper to work if I start it from the search result page. I can get urls on the search result page. I can...

@Yomguithereal have you had a chance to try the code above?