Wix Scraper is a Python script that allows you to convert a Wix-created website into an offline local copy, with downloaded images and fonts. It also removes all Wix-related JavaScript and replaces it with the nearest open-source alternative, such as slick.js and Leaflet.js.
Due to getting rid of Wix JS, CSS, animations, and other Wix-like content, as well as adding more SEO, we get a better website. Here's the Google Lighthouse report:
Normal Wix:
Wix Scraper:
To run Wix Scraper for any Wix website, you need to set up a configuration file (config.json) like the one below:
{
"site": "https://example.wixsite.com/example1",
"blockPrimaryFolder": "example1",
"wait": 3,
"recursive": "True",
"darkWebsite": "False",
"forceDownloadAgain": "False",
"metatags": {
"/example1": {
"title": "Example1 | The Best Wix Website",
"description": "Example1 is the best Wix website of all time.",
"keywords": "example keyword, example1 keyword",
"canonical": "https://example1.com/",
"image": "https://example1.com/banner.png",
"author": "Example1 Author"
},
"/example1/about": {
"title": "About | Example1 Website",
"description": "About Example1 which is the best Wix website of all time.",
"keywords": "example keyword, example1 keyword",
"canonical": "https://example1.com/about",
"image": "https://example1.com/banner.png",
"author": "Example1 Author"
}
},
"mapData": {
"latitude": "32.0879315",
"longitude": "34.797246",
"zoom": "12",
"mapMarker": {
"latitude": "32.0879315",
"longitude": "34.797246",
"popup": "<p>Wix HQ, Tel Aviv, Israel</p>"
}
}
}
site
: This is the URL of the Wix website you want to scrape.blockPrimaryFolder
: This is the primary folder after "wixsite.com" if one exists.wait
: This is the time (in seconds) the scraper waits before loading a new page.recursive
: If set to "True", the scraper will scrape all pages linked from the initial page.darkWebsite
: If set to "True", the scraper will apply a dark mode theme to the scraped website.forceDownloadAgain
: If set to "True", the scraper will download all files again, even if they already exist in the target directory.metatags
: This is a dictionary containing the metadata of each page on the website. This includes the title, description, keywords, canonical URL, image URL, and author of each page.mapData
: This is the data required to display a map on the website. This includes the latitude and longitude of the location, the zoom level of the map, and the details of the map marker.
To run Wix Scraper, first fill in the configuration file. Then, use the following command:
python wixscraper.py
That's it! You now have a fully offline and working copy.
Feel free to drop an issue if you find any problems with this tool. Here are some keywords to help other people find it.
wix converter, wix offline, wix scraper, scrape wix, offline wix website, convert wix, host wix offline, wix tool, wix optimizer, optimize wix, wix speed, make wix faster, fast wix