Codeground AI
EditorWorkspacesInterviews Meet New Daily Challenges
Data & format
  • JSON DiffCompare two JSON blobs side by side
  • Diff & PatchGenerate unified patches from text/code
  • JSON FormatterPretty-print and validate JSON
  • SQL FormatterFormat SQL and explain with AI
  • JSON ↔ CSVConvert tabular data both ways
  • Base64 CodecEncode and decode Base64
  • Log ParserPretty-print logs and highlight severity
Security & web
  • JWT DebuggerDecode and verify JSON Web Tokens
  • ENV LinterLint .env files and redact values
  • Password GeneratorStrong, configurable passwords
  • UUID GeneratorGenerate UUID v1/v4 in bulk
  • Regex TesterTest patterns in real time
Generators & utilities
  • Epoch ConverterConvert between Unix and dates
  • Meeting PlannerMatrix of slots across timezones
  • Date MathAdd duration with timezone awareness
  • Cron BuilderValidate cron and preview next runs
  • QR GeneratorMake scannable QR codes
  • Color PickerPick & convert colors
  • Lucky Draw WheelSpin-the-wheel utility
Network & creative
  • Speed TestMeasure network throughput
  • Diagram StudioFlowcharts & architecture diagrams
  • Canvas DrawingA scratchpad for sketches
  • Turtle GameCoding game for kids
See everything Codeground AI offers
Reads
Sign In Sign Up
EditorWorkspacesInterviewsMeetDaily ChallengesReads
Tools
JSON DiffDiff & PatchJSON FormatterSQL FormatterJSON ↔ CSVBase64 CodecLog ParserJWT DebuggerENV LinterPassword GeneratorUUID GeneratorRegex TesterEpoch ConverterMeeting PlannerDate MathCron BuilderQR GeneratorColor PickerLucky Draw WheelSpeed TestDiagram StudioCanvas DrawingTurtle Game

Sign InSign Up

Notifications 0

Extract all SEO tags of a website

Ashutosh Singh - March 29, 2025


At times we must have come across a situation wherein we had to scrap a website and process the data in some way, like Storing, Running analytics or Processing their content


I this tutorial I will be showing you a way in which we can extract SEO related contents of a website. If you have a different use case, I will also include the github repository

which you can clone and do changes as per your requirement.


1. We will start with creating a basic Node-Express server.


const http = require('http');
	const express = require('express');
	

	const route = require('./routes/main');
	

	let app = express();
	let server = http.createServer(app);
	

	app.use('/',route);
	

	

	server.listen(3030, function(){
	    console.log('Connected');
	})



Here using Nodejs's HTTP package, we have created a server, which would be running at port 3030 and have also attached our route which will redirect incoming requests.



2. Route incoming requests to our function


let express = require('express');
let router = express.Router();
let controller = require('../controller/main');
	

router.get('/get', controller.decodeHTML); 
	

module.exports = router;



Here, using Express' Router function, the routes are redirected to our function where main logic resides



3. Parse and Extract data from webpages

Now that we have redirected our requests to our main function, we will start with fetching the raw html content of the website.

In function decodeHTML the content is fetched using request package.

  let responseObject = await requester(url);  

Once we have extracted the content of the website, we can do processing as our requirements are. But for our current use case, we can extract data using regex statements. If you need to check exact regex statements, you can go through the attached repository once.


Github Repository URL https://github.com/iatsi/seo-scanner


Project hosted on https://woofh.com


Some example usages ::

https://woofh.com/get?url=https://www.flipkart.com

https://woofh.com/get?url=https://www.google.com

https://woofh.com/get?url=https://www.amazon.in

https://woofh.com/get?url=https://iatsi.thecodeground.in


Codeground AI

The browser is the only IDE you need. Cloud workspaces, 15+ language runtimes, secure interview tooling and a polished developer toolbox — all in one tab.

Languages

  • Node.js
  • Python
  • Java
  • C++
  • Go
  • Rust
  • TypeScript
  • Web (HTML/CSS/JS)
  • Shell / Bash

Databases

  • MongoDB
  • PostgreSQL
  • MySQL
  • Redis
  • ClickHouse

Tools

  • JSON Diff
  • Diff & Patch
  • JSON Formatter
  • JSON ↔ CSV
  • JWT Debugger
  • Base64 Codec
  • Regex Tester
  • Epoch Converter
  • Cron Builder
  • Meeting Planner
  • SQL Formatter
  • ENV Linter
  • Date Math
  • Log Parser
  • QR Generator
  • UUID Generator
  • Color Picker
  • Password Generator
  • Speed Test
  • Diagram Studio
  • Canvas Drawing
  • Lucky Draw Wheel

Platform

  • Daily Challenges
  • Interviews
  • Reads
  • Turtle (Kids)

Company

  • About Us
  • Privacy Policy
  • Sitemap
  • Contact

© 2026 Codeground AI. Built for developers who want to ship.

About·Privacy·Sitemap·[email protected]