Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

meyer1994/unscrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unscrap

build standard-readme compliant

A terrible idea

Table of Contents

About

I once read a comment on Reddit of someone complaining about Facebook's ugly HTML and suggesting that companies would stop to show HTML and would start serving static PNG/JPG for their pages.

Well... Here it is (?)... Sort of.

This application runs an HTTP server where the page is rendered on the server and only an screenshot of it is returned to the browser.

Features:

  • Not scalable
  • Does not work on most websites
  • Very stupid

Roadmap:

  • Make it more stupid
  • Needs more NFTs

Install

This project uses fastapi and uvicorn for server interactions. The web pages are rendered using playwright.

$ pip install -r requirements.txt

Usage

To run a local version of this project, just execute:

$ uvicorn app:app --reload

Then access localhost:8000/ on your browser and delight yourself with the future of the web. The examples uses Wikipedia. So you should expect to see its front page.

About

A terrible idea

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published