Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Image Extractor

A node app that transforms a URL into a redirect to the main image from the web page.

Usage

There is a single endpoint at the root which accepts a GET request with a URL parameter named url. This will return either:

  • 301 redirect to the target image
  • 404 if:
    • no image was found
    • the URL didn't return HTML
    • the URL couldn't be resolved

Hackers

Built for and used in Hackers.


By Weiran Zhang
Website | Twitter | GitHub

About

Fetches and returns a 301 redirect to an image in a web page

Resources

Releases

No releases published

Packages

No packages published