Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7543771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:30:52+00:00 2026-05-30T08:30:52+00:00

I have a beginner question : I’d like to write a crawler (~1000 webpages)

  • 0

I have a beginner question : I’d like to write a crawler (~1000
webpages) with MozMill but too often, websites have problems loading
some elements so there is no page load.
–> The waitForPageLoad() method stops my crawler
How could I proceed?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T08:30:53+00:00Added an answer on May 30, 2026 at 8:30 am

    The waitForPageLoad method is blocking, this means that the current executing thread will block until the execution of the method has completed. There are two ways to stop your application from blocking:

    1. Specify a timeout.
    2. Run multiple threads.

    The documentation on waitForPageLoad indicates that there is a timeout value, so set the timeout to something reasonable and the function will return as soon as the page has been loaded or the timeout has expired:

    void waitForPageLoad(
      in DOMDocument document,
      in int timeout,
      in int interval
    ); 
    

    The second option is to run multiple threads, which might be beneficial for you anyway. Each thread will be tasked with loading a page, processing it and selecting another page to load (from a queue of pages).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Absolute beginner question: I have a template file index.html that looks like this: ...
This is a very beginner question. I have tried to search for advice but
I apologize if this is a really beginner question, but I have not worked
Seems like a beginner question but I can't seem to figure it out ...
A beginner question I am sure, but I have just started working with a
i have a java beginner question: Parent.print() prints hallo in the console, but also
Forgive the beginner question, but say I have an array: a = [1,2,3] And
A beginner question... I have a list like this: x <- c(aa=v12, bb=x21, cc=f35,
This seems like a pretty beginner question; however, I have no idea what the
sorry for the beginner's question, but I find it hard to understand: I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.