Scrape Job Postings from Indeed.comWednesday, September 14, 2016 3:03 AM
(Download my extraction task of this tutorial HERE just in case you need it.)
In this tutorial, I will take Indeed.com for example to show you how to scrape job postings. (extract data from list pages with more than one row of data like a search results page.)
Step 1. Advanced Mode: Choose “Advanced Mode” ➜ Click “List & Detail” ➜ Click “Start”.
Step 2. Complete basic information. ➜ Click “Next”.
Step 3. Enter the target URL in the built-in browser. ➜ Click “Go” icon to open the webpage.
(URL of the example: http://www.indeed.com/jobs?q=customer+service&l=Houston%2C+TX )
Step 4. Click on the “Next” pagination link. Click “Expand the selection area” until “Loop click in the element” appears. ➜ Choose “Loop click in the element” to turn the page.
(Note: If you want to extract information from every page of search result, you need to add a page navigation action.)
Step 5. Move your cursor over the section with similar layout, where you would extract data.
Click the first highlighted link ➜ Create a list of sections with similar layout. Click “Create a list of items” (sections with similar layout). ➜ “Add current item to the list”.
Then the first highlighted link has been added to the list. ➜ Click “Continue to edit the list”.
Click the second highlighted link ➜ Click “Add current item to the list” again. Now we get all the links with similar layout. ➜Then click “Finish Creating List” ➜ Click “loop” to process the list for extracting the elements in each page.
Step 6. Extract the search results.
Extract the title of the first section. ➜ Click the title ➜ Select “Extract text”. Other contents can be extracted in the same way.
Step 7. All the content will be selected in Data Fields. ➜ Click the “Field Name” to modify.
Step 8. Drag the second “Loop Item” before “Click to paginate” action in the Workflow Designer so that we can grab all the elements of sections from multiple pages.
Step 9. Click “Next” ➜ Click “Next” ➜ Click “Local Extraction” ➜ “OK” to run the task on your computer. Octoparse will automatically extract all the data selected.
Step 10. The data extracted will be shown in "Data Extracted" pane. Click "Export" button to export the results to Excel file, databases or other formats and save the file to your computer.
Author: The Octoparse Team
For more information about Octoparse, please click here.
Sign up today!