Code Monkey home page Code Monkey logo

py301scan's Introduction

py301scan

This script is intended to help the user find links with status codes other than 200, and to help locate them on the web so they can be rectified at source.

Disclaimer

This project was made with a particular case in mind and for the purpose of learning python, so many parts of the code may not be optimised.

Also, the code is not stable and is not efficient for websites with more than 100 urls.

Full development will be continued in the indefinite future.

Installation

git clone https://github.com/zft9xgy/py301scan.git
cd py301scan
pip3 install -r requiriments.txt
python3 init.py

Usage

The script is intended to take a list of sitemaps from the input/sitemap_list.txt file, one on each line. If you only have one, you can leave only one.

To run the script:

python3 main.py

Result

You can find a csv file in csv/raw_scan.csv with the following header

status_code,source_url,link,anchor,tag_location

TL;DR

In the first version of this script, I tried to go too far and add, or wanted to add, too much functionality so that users without programming skills could use it, but that led to the failure of the project, because I didn't have the experience and knowledge to meet my expectations.

Simplifying this project has allowed me to close it and continue with the next one so I can come back here in the future and develop it as it should be.

If you have read this far and would like to comment or discuss further, feel free to open an issue or write to me at [email protected].

py301scan's People

Contributors

zft9xgy avatar

Stargazers

David Dennison avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.