You are browsing a tutorial guide for the latest Octoparse version. If you are running an older version of Octoparse, we strongly recommend you upgrade because it is faster, easier and more robust! Download and upgrade here if you haven't already done so!

Digital Journal is a website that provides world news including but not only tech & science, social media, business...

In this tutorial, we are going to show you how to scrape search results from Digital Journal.com both the listing page and detailed page.

1.png
2.png

To follow through, you may want to use the URL in this tutorial:

https://www.digitaljournal.com/?s=covid

Here are the main steps in this tutorial: [Download task file here]

  1. Go to Web Page - open the target web page

  2. Start auto-detection - to generate a workflow

  3. Click on link(s) to scrape the linked pages - loop click into each item on each list

  4. Extract Data - select the data to scrape

  5. Run the task - to get the desired data


1. Go to Web Page - open the target web page

  • Enter the URL on the home page and click Start

2.png

2. Start auto-detection - to generate a workflow

Octoparse's internal auto-detect function can help to automatically generate a workflow quickly. Further modifications can be made based on this.

  • Click on Auto-detect web page data and wait for the detection to complete

detec.jpg
  • Check the data fields in Data Preview and delete unwanted data or rename them if needed

RENAME.png
  • Untick Add a page scroll

  • Click Create workflow

untick.png

3. Click on link(s) to scrape the linked pages - loop click into each item on each list

  • Click Click on link(s) to scrape the linked pages in the tips panel

CLICK_ON.png
  • Choose Title_URL in the drop-down box under Click on an extracted data field

  • Click Confirm

title.png

4. Extract Data - select the data to scrape

  • Click on the wanted data

  • After all the chosen data turn green, Click Extract data in the tips box

EXTRACT.png

The final workflow will look like this:

WF.png

5. Run the task - to get the desired data

  • Click the Save button first to save all the settings you have made

  • Then click Run to run your task either locally or cloudly

mceclip8.png
  • Select Run on your device and click Run Now to run the task on your local device

  • Waiting for the task to complete

mceclip9.png

Below is a sample data run from the local. Excel, CSV, HTML, and JSON formats are available for export.

DATA.png

TIP: Local runs are great for quick runs and small amounts of data. If you are dealing with more complicated tasks or a mass of data, Run in the Cloud is recommended for higher speed. You are very welcome to try the premium feature by signing up for the 14-day free trial here. Tasks can be scheduled hourly, daily, or weekly and data delivered regularly.

Did this answer your question?