Golang Colly Scrapper

1,000
ETH, DAI, USDT
+53
0 days (till Mar 10th, 2024)

Price is negotiable

 

Project Description:

Develop a high-performance crawler capable of traversing millions of domains quickly, extracting links and navigating up to a specified depth for each domain. Speed is essential.

Technologies:

  • Programming Language: Golang, with no specific preference for libraries as long as they are among the fastest and best suited for the project's needs.
  • Database: Redis, used as a queue to temporarily store the results of each crawled page in JSON format.

Key Features:

  • Retrieve a list of domains via an API returning domain names in JSON format. The frequency of checking for new domains available should be configurable (in minutes or seconds).
  • For each domain, extract links (CSS, JS, FORM, LINK, JSON) up to a specified crawl depth and a maximum number of pages per host. Configurations related to depth and maximum pages should be easily adjustable in a configuration file.
  • Identify for each host its IP address, TLD (e.g., .com), the port used (e.g., 80), and for each page, capture the source, URL, navigation depth, and presumed file type (based on content-type or extension).
  • Manage a blacklist for extensions and content-types, avoid duplicates through URL normalization, and ensure that the source code size of pages does not exceed a predefined limit (configurable).
  • Save crawl results to Redis in JSON format in batches, ready to be integrated into Elasticsearch. The number of documents per batch should be configurable.
  • The configuration of the number of workers should be automatic based on server capacity but adjustable via a configuration file for maximum flexibility. The number of requests per domain should be limited to avoid DDOS.
  • Plan rigorous memory leak management to ensure long-term performance.
  • A logging and performance monitoring system using Prometheus.
  • Handling of redirects, crawling both http and https. If http://amazon.com does not work or redirects, try https://amazon.com; otherwise, skip.
  • Ignore the robots.txt.

Other Requirements:

  • The HTTP response header must be accessible at the beginning of the source code for easy data processing.
  • Ensure clear documentation on how to modify configurations for easy and rapid adjustments as needed.
  • For each page, make an md5 hash of the source code after removing spaces.
  • Retrieve links from these specified attributes and tags.

List of attributes to handle:

  • href
  • src
  • data-src
  • data-href
  • data-url
  • action

List of tags to handle:

  • a
  • link
  • script
  • img
  • iframe
  • frame
  • source
  • form

Blacklist extensions:

  • .pdf
  • .mp3
  • .avi
  • .mp4
  • .ogg
  • .zip
  • .rar
  • .7z
  • .exe
  • .apk
  • .iso
  • .img
  • .jpg
  • .png
  • .gif
  • .bmp
  • .ico
  • .svg
  • .xml
  • .woff
  • .woff2
  • .ttf
  • .eot
  • .otf
  • .csv
  • .xls
  • .xlsx
  • .doc
  • .docx
  • .ppt
  • .pptx
  • .odt
  • .ods
  • .odp
  • .odg
  • .odf

Expected JSON on Redis per page: { "md5": "3ab3e9f9fcf1a62edfca58f00f1a4a8c", "domain": "example.com", "host": "subdomain.example.com", "url": "http://www.subdomain.example.com/page1", "tld": "com", "ip": "192.0.2.1", "port": 80, "depth": 1, "rank": 12345, "source": "HTTP/2 200 <html><head>...</head><body>...</body></html>", "filetype": "html" }

1,000
ETH, DAI, USDT
+53
0 days (till Mar 10th, 2024)

More Jobs like this

Show more
Art Project – Hiring / Collaboration

Art Project – Hiring / Collaboration Post I’m currently looking for a talented artist or digital creator to join me on a new Art & NFT Project. The project focuses on creating unique artworks with...

Article Project Post (Professional & Attractive

  I’m currently looking for a talented and reliable writer to join my project team. The focus is on producing high-quality articles related to NFTs, digital art, blockchain trends, and creative storytelling. What I’m Looking...

promote your YouTube

🚀 Ready to grow your YouTube channel organically and reach monetization faster? I’ll help you achieve real results with 100% organic YouTube promotion that boosts watch time, engagement, and subscribers — without bots, fake views,...

Remote Beginner OFM Models Wanted

I’m putting together a small, fully-remote team of fresh faces who are eager to grow as OFM models. No agency experience is required; I’ll guide you through every step so you feel comfortable on-camera and...

Simple Terrace Design

Need a simple floor plan and 3D for my simple terrace project width 2.5m length 7m  

Looking for investors for a viral Web3 project

Are you looking to invest early in a high-growth Web3 project before it goes public? I’m opening a limited early-investor round for a community-driven meme coin built on Solana, inspired by global meme culture and...

We are looking for an investor

We are currently preparing to launch a major project that requires funding from an investor. We confidently assure you that within one year, the project's capital will witness significant growth. We have a comprehensive plan...

Digital art marketing

We are looking for digital marketers who have good communication skills even if they are beginners - to promote digital art like images videos etc

Email Proxy System Operation

Description: We are looking for freelancers who meet the following requirements: Own a personal computer Understand English Task Details: Download the EXE file we provide. Run the system, complete the setup, and start it. Once...

Blockchain en Crypto

Want to improve sandwich bot code and add uncle bandit attack protection and integrate bloxroute gateway so can easy connect with node and run smooth 

Art Project – Hiring / Collaboration

Art Project – Hiring / Collaboration Post I’m currently looking for a talented artist or digital creator to join me on a new Art & NFT Project. The project focuses on creating unique artworks with...

Article Project Post (Professional & Attractive

  I’m currently looking for a talented and reliable writer to join my project team. The focus is on producing high-quality articles related to NFTs, digital art, blockchain trends, and creative storytelling. What I’m Looking...

promote your YouTube

🚀 Ready to grow your YouTube channel organically and reach monetization faster? I’ll help you achieve real results with 100% organic YouTube promotion that boosts watch time, engagement, and subscribers — without bots, fake views,...

Remote Beginner OFM Models Wanted

I’m putting together a small, fully-remote team of fresh faces who are eager to grow as OFM models. No agency experience is required; I’ll guide you through every step so you feel comfortable on-camera and...

Simple Terrace Design

Need a simple floor plan and 3D for my simple terrace project width 2.5m length 7m  

Looking for investors for a viral Web3 project

Are you looking to invest early in a high-growth Web3 project before it goes public? I’m opening a limited early-investor round for a community-driven meme coin built on Solana, inspired by global meme culture and...

We are looking for an investor

We are currently preparing to launch a major project that requires funding from an investor. We confidently assure you that within one year, the project's capital will witness significant growth. We have a comprehensive plan...

Digital art marketing

We are looking for digital marketers who have good communication skills even if they are beginners - to promote digital art like images videos etc

Email Proxy System Operation

Description: We are looking for freelancers who meet the following requirements: Own a personal computer Understand English Task Details: Download the EXE file we provide. Run the system, complete the setup, and start it. Once...

Blockchain en Crypto

Want to improve sandwich bot code and add uncle bandit attack protection and integrate bloxroute gateway so can easy connect with node and run smooth