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 8172919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:56:35+00:00 2026-06-06T21:56:35+00:00

I am implementing a web crawler and I am using Crawler4j library. I am

  • 0

I am implementing a web crawler and I am using Crawler4j library. I am not getting all the links on a web site .
I tried to extract all the links on one page using Crawler4j and missed some links.

Crawler4j version : crawler4j-3.3

Url I used :http://testsite2012.site90.com/frontPage.html

No. of links on this page : almost 60 and 4-5 among them are repeating

No. of links crawler4j gave: 23

this is list of URLs on page and this is list of URLs given by Crawler4j.

I looked in ‘HtmlContentHandler.java’ file using by crawler4j to extract the links . In this only links associated with ‘src’ and ‘href’ links are being extracted .

I find the difference between these files. Crawler4j is missing the links which are not associated with ‘src’ or ‘href’ attribute and which are under the ‘script’ tag.
this is the list of links which crawler4j didn’t crawl .

How can i extract all the links on this page ?
Do I need to do string manipulation(like findding ‘http’ ) on HTML parsed page or should I change code of ‘HtmlContentHandler.java’ file ?

Which is best way ?

Even if I do string manipulation and extract all links on this page but Crawler4j is crawling the website using the links crawled by itself and won’t in such case it miss some pages ?

  • 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-06-06T21:56:39+00:00Added an answer on June 6, 2026 at 9:56 pm

    Try using Regular Expressions to locate links.

    You can look here for an example.

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

Sidebar

Related Questions

Has anyone tried implementing a web application with Clojure ( using Compojure ) and
I am implementing a web app using symfony 2. It has a main page
I have a web project using jsf2 implementing a gaming web site on tomcat7.
I tried implementing a simple web service into an asp.net application using the tutorial
I am implementing COMET in my MVC web application by using the PokiIn library
Im implementing Web Form using ASP.NET in c#, I have a page with few
I'm implementing client web service from .wsdl in C++ using gSOAP library. And i
I'm implementing a web - based application using silverlight with an SQL Server DB
I am implementing SOAP web services for a commercial application, and I am using
I'm currently implementing a REST web service using CouchDB and RESTlet. The RESTlet layer

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.