Reputation: 9
Someone asked me to do a few changes on their business website but they don't have the source code and they don't remember who developed website to ask from him. Is there a way I can clone the website(Download the source code) and do the changes then publish it with a new domain and server.
Upvotes: -2
Views: 1664
Reputation: 135
It would be possible, but very complicated. Probably some backend code or minified code is used. In this case, it's (nearly) impossible to download and change the site.
I would recommend to recreate the page with modern tools like webflow (graphical website builder) or astro (powerful framework for content-rich sites).
When it's a small site without backend, you can try hitting Ctrl + S
.
Upvotes: 0
Reputation: 2711
Front-end code is available directly in the browser. If it's a single-page site, you can literally right-click > Save As > Webpage, Complete to download all the relevant files. If it's a multi-page site, you can use a web scrapper (e.g. Beautiful Soup) to programmatically crawl and download each page.
Upvotes: 0