Skip to content

coder-Rishi05/url_converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Media Link Extractor Backend

A simple Node.js + Express backend that accepts a URL and determines whether it points to an image or video.
If the URL contains an image or video, the backend can download and store it locally.
Unsupported URLs return an error.

Features

  • URL validation
  • Detects image or video using HTTP headers
  • Downloads image/video files
  • Clean folder structure
  • Easy to test using Postman

Tech Stack

  • Node.js
  • Express.js
  • Fetch API
  • CORS
project-root/
│
├── routes/
│   ├── check.js        # Detects content type (image/video)
│   ├── download.js     # Downloads image/video
│
├── utils/
│   └── validator.js    # URL validation helper
│
├── downloads/          # Stored downloaded files
│
├── server.js           # App entry point
├── package.json

Limitations

  • only support public links.
  • can'nt download you tube videos.
  • the download folder must be on the root directory
  • the frontend not supported currently

About

a backend service that convert imgage url and video links to real image and videos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published