Golang Colly Scrapper

1,000
ETH, DAI, USDT
+55
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
+55
0 days (till Mar 10th, 2024)

More Jobs like this

Show more
Landing page with Wordpress

Hello, I already have Figma design and I am looking for web developer who can make easy website (3 funkcion) with wordpress or another TVS.

Bounty: Update React Native app to newer version

Important: this is a BOUNTY RULES The first person to come with the solution will receive the payment. We are forced to use a bounty because of so many people subscribing to the job but...

Integrating blockchain and NFT into the game

Goal: Integrate blockchain and create mechanisms to support digital assets in the form of NFTs (non fungible tokens) within the game. Define NFT objects: Develop a list of digital assets that will represent NFT objects...

Convert my image into an NFT

I have the image that I desire to have converted into an NFT and desire lifetime royalties from the sale of the NFT.My image is to become 5 individual NFTs. There are more details but...

Integrate my P2P payment code for Telegram Bot

I need a serious developer who is savvy with Telegram bots. I already have my code that will be deployed to a VPS. I need you to validate the code and then deploy it to...

Experienced Assistant for Amazon Seller Central

We are seeking a highly organized and motivated Virtual Assistant to support our expanding Amazon e-commerce business. This role is essential to streamlining our operations. Key Responsibilities: Listing Optimization: Create and optimize product listings with...

Freelance Custom Trading Indicator Developer

We are seeking an experienced freelance developer to create a custom trading indicator for our platform. The successful candidate will be responsible for developing a unique indicator based on specific requirements outlined in a detailed...

Crypto Wallet Developer

We are seeking a talented and experienced Crypto Wallet Developer to join our team. The ideal candidate will have a strong background in blockchain technology and a passion for working with cryptocurrencies. Responsibilities: - Design...

3D Artist / Designer

I need to model few products for our ecommerce: pillows and blankets. Would need to make some animations with it, as well to export some still images from same render. Here is few examples: https://d2o3top45uowdm.cloudfront.net/media/92C6EFA8-D733-4A6F-8A50B3DC368F5F4A/AE9565CF-C90F-4921-A303CFA2D6900DD8/480p-62CB7120-759E-42F1-87AC6C06EE8E4AE4.mp4...

Experienced Web Developer

We're seeking a skilled and motivated Web Developer to build a robust web application. This app requires meticulous coding, and the ability to seamlessly integrate Progressive Web App (PWA) functionality for a fantastic user experience...

Landing page with Wordpress

Hello, I already have Figma design and I am looking for web developer who can make easy website (3 funkcion) with wordpress or another TVS.

Bounty: Update React Native app to newer version

Important: this is a BOUNTY RULES The first person to come with the solution will receive the payment. We are forced to use a bounty because of so many people subscribing to the job but...

Integrating blockchain and NFT into the game

Goal: Integrate blockchain and create mechanisms to support digital assets in the form of NFTs (non fungible tokens) within the game. Define NFT objects: Develop a list of digital assets that will represent NFT objects...

Convert my image into an NFT

I have the image that I desire to have converted into an NFT and desire lifetime royalties from the sale of the NFT.My image is to become 5 individual NFTs. There are more details but...

Integrate my P2P payment code for Telegram Bot

I need a serious developer who is savvy with Telegram bots. I already have my code that will be deployed to a VPS. I need you to validate the code and then deploy it to...

Experienced Assistant for Amazon Seller Central

We are seeking a highly organized and motivated Virtual Assistant to support our expanding Amazon e-commerce business. This role is essential to streamlining our operations. Key Responsibilities: Listing Optimization: Create and optimize product listings with...

Freelance Custom Trading Indicator Developer

We are seeking an experienced freelance developer to create a custom trading indicator for our platform. The successful candidate will be responsible for developing a unique indicator based on specific requirements outlined in a detailed...

Crypto Wallet Developer

We are seeking a talented and experienced Crypto Wallet Developer to join our team. The ideal candidate will have a strong background in blockchain technology and a passion for working with cryptocurrencies. Responsibilities: - Design...

3D Artist / Designer

I need to model few products for our ecommerce: pillows and blankets. Would need to make some animations with it, as well to export some still images from same render. Here is few examples: https://d2o3top45uowdm.cloudfront.net/media/92C6EFA8-D733-4A6F-8A50B3DC368F5F4A/AE9565CF-C90F-4921-A303CFA2D6900DD8/480p-62CB7120-759E-42F1-87AC6C06EE8E4AE4.mp4...

Experienced Web Developer

We're seeking a skilled and motivated Web Developer to build a robust web application. This app requires meticulous coding, and the ability to seamlessly integrate Progressive Web App (PWA) functionality for a fantastic user experience...