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
Article Writing

We are looking for a skilled Article Writer to join our team. The ideal candidate will have a passion for writing and the ability to create engaging and informative content. Responsibilities: 1. Research and write...

Shopify Product Page Issue – Experienced Developer Needed

We are looking for an experienced Shopify developer to resolve an issue on our product page. The ideal candidate will have a deep understanding of Shopify's architecture and be capable of troubleshooting and fixing bugs...

Front End Developer Needed for Design Implementation

We are seeking a motivated and talented Front End Developer to join our dynamic team focused on delivering exceptional user experiences through effective design implementation. In this role, you will work closely with our design...

(Long-Term Project) | Arabic Romance Story Writer

:** نبحث عن كاتب/كاتبة قصص باللغة العربية لديه/لديها خيال واسع، أفكار واضحة، ويجيد بناء حبكة مشوقة وشخصيات مقنعة. العمل يتضمن كتابة قصص غرامية قصيرة موجهة لجمهور عربي، بأسلوب حياتي واقعي، وبلهجة عامية مفهومة، وليس باللغة...

Crypto Arbitrage Bot Developer for Prediction Markets

We are a developing a cross exchange arbitrage bot for prediction markets. Speed is a factor so we need the dev to code in Rust and keep the calculations and logic as lean as possible. There...

Deploy Existing MVP + Fix Critical Bugs (Node / Next.js)

Objective: Deploy an existing MVP and fix only the listed critical issues. This is a stabilization and deployment task, not a rebuild.   Scope (STRICT): - Deploy existing frontend and backend from the provided repository...

Business Development Manager

You will be instrumental in driving growth by identifying new business opportunities, establishing strategic partnerships, and enhancing our market presence. Key Responsibilities Market Research: Analyze market trends and identify potential opportunities for business growth. Lead...

Vegan Rob's Dao project development

Vegan Rob’s https://veganrobs.com/is a well-known plant-based lifestyle brand with a passionate community. Vegan Rob’s DAO is a Web3 governance platform that allows the community to participate directly in decision-making through decentralized voting. The platform includes...

adding chatting functionality

We are looking for a developer to add a simple real-time chatting feature to our tech education project based on the Tech-Books repository. The goal is to allow users to communicate (1-to-1 or group chat)...

helping me with my hotel project for a college

i want someone that could help me with my hotel project for my universtity concept for a hilton hotel in casablance morocco contact me for more info

Article Writing

We are looking for a skilled Article Writer to join our team. The ideal candidate will have a passion for writing and the ability to create engaging and informative content. Responsibilities: 1. Research and write...

Shopify Product Page Issue – Experienced Developer Needed

We are looking for an experienced Shopify developer to resolve an issue on our product page. The ideal candidate will have a deep understanding of Shopify's architecture and be capable of troubleshooting and fixing bugs...

Front End Developer Needed for Design Implementation

We are seeking a motivated and talented Front End Developer to join our dynamic team focused on delivering exceptional user experiences through effective design implementation. In this role, you will work closely with our design...

(Long-Term Project) | Arabic Romance Story Writer

:** نبحث عن كاتب/كاتبة قصص باللغة العربية لديه/لديها خيال واسع، أفكار واضحة، ويجيد بناء حبكة مشوقة وشخصيات مقنعة. العمل يتضمن كتابة قصص غرامية قصيرة موجهة لجمهور عربي، بأسلوب حياتي واقعي، وبلهجة عامية مفهومة، وليس باللغة...

Crypto Arbitrage Bot Developer for Prediction Markets

We are a developing a cross exchange arbitrage bot for prediction markets. Speed is a factor so we need the dev to code in Rust and keep the calculations and logic as lean as possible. There...

Deploy Existing MVP + Fix Critical Bugs (Node / Next.js)

Objective: Deploy an existing MVP and fix only the listed critical issues. This is a stabilization and deployment task, not a rebuild.   Scope (STRICT): - Deploy existing frontend and backend from the provided repository...

Business Development Manager

You will be instrumental in driving growth by identifying new business opportunities, establishing strategic partnerships, and enhancing our market presence. Key Responsibilities Market Research: Analyze market trends and identify potential opportunities for business growth. Lead...

Vegan Rob's Dao project development

Vegan Rob’s https://veganrobs.com/is a well-known plant-based lifestyle brand with a passionate community. Vegan Rob’s DAO is a Web3 governance platform that allows the community to participate directly in decision-making through decentralized voting. The platform includes...

adding chatting functionality

We are looking for a developer to add a simple real-time chatting feature to our tech education project based on the Tech-Books repository. The goal is to allow users to communicate (1-to-1 or group chat)...

helping me with my hotel project for a college

i want someone that could help me with my hotel project for my universtity concept for a hilton hotel in casablance morocco contact me for more info