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
looking for a talented solidity engineer

We’re creating a new multichain DeFi dApp combining staking rewards, charitable donations, and token burning. And I am looking for a talented lead engineer responsible for building this platform.   If you're interested in exploring...

Blockchain Developer | Solidity / EVM | Remote

We need a blockchain developer for remote, ongoing work on an EVM product. On-chain Solidity smart contracts (0.8.x), ERC standards, access control Development with Foundry or Hardhat, strong test coverage Safe deployment patterns, upgrades/admin where required Integration Work with backend/frontend on ABIs, events,...

CritiQ

We're currently building CritiQ, an innovative insurance platform.  It's an on-chain, parametric-first insurance solution designed to deliver fast, fair, and fully transparent coverage. Our initial offerings include Flight Delay, Smart Contract Risk, and Commercial Property...

اپلیکیشن‌های

We are seeking a talented and experienced Application Developer to join our team. The ideal candidate will possess expertise in Web, Mobile & Software Development, iOS, Game Development, Mobile Apps, and Functionality Testing. Responsibilities: -...

Golang、Redis、MySQL、Nginx、API集成

【Requirement】Seeking a senior Go language engineer for a full-service development and setup of a video game platform.   【Basic Information】 Budget: $2000 USD (all-inclusive). Existing mature front-end references are available. You are responsible for the...

Full Stack Web3 Developer | React + Node | Remote

We need a full stack Web3 developer for remote, ongoing product work.FrontendReact / Next.js, TypeScript, modern CSSWallet flows (connect, sign, network switch), clear loading/error statesIntegrate with backend APIs and on-chain reads where neededBackendNode.js (and/or Python) REST APIsEVM integration: RPC, contract calls, event listening,...

Roofing Repair Specialist

Online consultation with a roofing specialist for one day to discuss roofing issues, assess needs, and receive expert recommendations.  

Information technology

Information Technology Engineer providing reliable IT support, system troubleshooting, networking assistance, software and website solutions, data management, and technical consulting. I am committed to clear communication, professional work, meeting deadlines, and delivering practical solutions for...

Graphic Design

Hi! I am a creative Graphic Designer and Beginner Video Editor. I create attractive banners, social media posts, promotional flyers, and short videos for businesses and content creators.I am passionate about design, creativity, and helping...

Freelance Designers & Article Writers Wanted

Overview   We are looking for talented and reliable freelance graphic designers and article writers based in Brazil, India, or the Philippines to work on ongoing digital content projects.   Available work:   Graphic Designers:...

looking for a talented solidity engineer

We’re creating a new multichain DeFi dApp combining staking rewards, charitable donations, and token burning. And I am looking for a talented lead engineer responsible for building this platform.   If you're interested in exploring...

Blockchain Developer | Solidity / EVM | Remote

We need a blockchain developer for remote, ongoing work on an EVM product. On-chain Solidity smart contracts (0.8.x), ERC standards, access control Development with Foundry or Hardhat, strong test coverage Safe deployment patterns, upgrades/admin where required Integration Work with backend/frontend on ABIs, events,...

CritiQ

We're currently building CritiQ, an innovative insurance platform.  It's an on-chain, parametric-first insurance solution designed to deliver fast, fair, and fully transparent coverage. Our initial offerings include Flight Delay, Smart Contract Risk, and Commercial Property...

اپلیکیشن‌های

We are seeking a talented and experienced Application Developer to join our team. The ideal candidate will possess expertise in Web, Mobile & Software Development, iOS, Game Development, Mobile Apps, and Functionality Testing. Responsibilities: -...

Golang、Redis、MySQL、Nginx、API集成

【Requirement】Seeking a senior Go language engineer for a full-service development and setup of a video game platform.   【Basic Information】 Budget: $2000 USD (all-inclusive). Existing mature front-end references are available. You are responsible for the...

Full Stack Web3 Developer | React + Node | Remote

We need a full stack Web3 developer for remote, ongoing product work.FrontendReact / Next.js, TypeScript, modern CSSWallet flows (connect, sign, network switch), clear loading/error statesIntegrate with backend APIs and on-chain reads where neededBackendNode.js (and/or Python) REST APIsEVM integration: RPC, contract calls, event listening,...

Roofing Repair Specialist

Online consultation with a roofing specialist for one day to discuss roofing issues, assess needs, and receive expert recommendations.  

Information technology

Information Technology Engineer providing reliable IT support, system troubleshooting, networking assistance, software and website solutions, data management, and technical consulting. I am committed to clear communication, professional work, meeting deadlines, and delivering practical solutions for...

Graphic Design

Hi! I am a creative Graphic Designer and Beginner Video Editor. I create attractive banners, social media posts, promotional flyers, and short videos for businesses and content creators.I am passionate about design, creativity, and helping...

Freelance Designers & Article Writers Wanted

Overview   We are looking for talented and reliable freelance graphic designers and article writers based in Brazil, India, or the Philippines to work on ongoing digital content projects.   Available work:   Graphic Designers:...