This is a simple script in Python that will check a series of urls from the first column of an .xlsx file, get the history from the response (redirects etc...) and will tell you, in a new .xlsx file, if the redirect is present (or not), if the page goes in 404 and if the redirected url is correct (based on the second column of the excel file that contains the list of the "final" urls).
Open the script with an editor like Notepad++ and edit the following variables as you prefer:
- Start from row # specify the first row of your .xlsx/.xls file that starts with a URL
- Sheet number # the index of the excel sheet you want to process, if "Selected sheet only" is unchecked it will do them all starting from this index
- Selected sheet only # if for any reason you need to do one file sheet at a time, flag this checkbox
To make this script work you need to install Python, xlrd and xlwt libraries.
You can download the latest version of Python from those links for Windows, Linux/UNIX, MacOS.
Move into project folder with git bash or cmd and launch this command to easy install all the required libraries:
pip install -r requirements.txt --user
Just in case you are using .xls (and not .xlsx) files, then, you'll need to install the latest version manually:
pip install --upgrade xlrd
Once done, make sure you're in the correct folder with cmd/terminal and launch (N.B. use your python version into the next command):
python gui.py
Now, setup all needed inside the brand new GUI and start the script.
After that, you will find your new results.xslx file into your folder destination (specified inside the GUI).
NB: an .exe of the script is available but your OS will probably block it. The best way to run the script is buy command line as described above but if you want, you can try to whitelist the .exe and run it in the easiest way possible.
03-06-2023 - Version 0.1.3
Features:
- Added the requirements.txt file in order to easily install all the required packages
- Added the .exe of the script to the release
02-06-2023 - Version 0.1
Features:
- Added a first version of a GUI