Scrape Job Postings from Monster.comWednesday, September 14, 2016 4:54 AM
(Download my extraction task of this tutorial HERE just in case you need it.)
In this tutorial, I will take Monster.com for example to show you how to scrape job postings from Monster.com.
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. Then the following interface will appear.
(URL of the example: http://www.monster.com/jobs/search/?q=Web-Design-Manager&where=Los-Angeles-county__2C-CA)
Step 4. 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 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!