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!
The extraction speed of a crawler is affected by the speed of page loading. If many unexpected ads appear on the web page, such as banners and pop-ups, the page will load slowly and waste your time. Ad blocking can reduce your page requests and thus optimize the loading time.
So, how can we block ads in Octoparse? Let's follow this tutorial for two solutions that can handle this issue.
Solution 1: Block the ads in the workflow
Solution 2: Block the ads in the task settings
Note:
Using the Ad blocking technique may change the structure of some web pages. If so, please adjust the XPath to relocate the elements. (To learn more about XPath, check out What is XPath and how to use it in Octoparse?)
Using Ad blocking may cause page-loading issues. If you find the page loads improperly, for example, the page cannot be loaded at all, please do not select Ad blocking.