Scrape Job Postings from GlassdoorSunday, September 18, 2016 12:02 AM
(Download my extraction task of this tutorial HERE just in case you need it.)
In this tutorial, I will take Glassdoor.com for example to show you how to scrape job postings.
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: https://www.glassdoor.com/Job/new-york-nurse-jobs-SRCH_IL.0,8_IC1132348_KO9,14.htm )
Step 4. 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 5. 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 6. Click on the “Next” pagination link. ➜ Choose “Loop click Next Page”.
(Note: If you want to extract information from every page of search result, you need to add a page navigation action.)
Step 7. 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 8. All the content will be selected in Data Fields. ➜ Click the “Field Name” to modify.
Step 9. 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 10. Click “Next” ➜ Click “Next” ➜ Click “Local Extraction” ➜ “OK” to run the task on your computer. Octoparse will automatically extract all the data selected.
Step 11. 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!
Octoparse Smart Mode -- Get Data in Seconds
Get Started with Octoparse in 2 Minutes