Coder Social home page Coder Social logo

dourado's Introduction

Dourado πŸš€

Welcome to Dourado! This project is designed to bring info about a website sitemaps.

Features ✨

  • robots_exists(website_url): βœ… Checks if robots.txt exists in the website root and returns a boolean.
  • valid_sitemaps_robots(website_url): πŸ” Verifies if there is at least one available and valid sitemap in robots.txt and returns a boolean.
  • website_sitemaps(website_url): πŸ“œ Retrieves and returns a list of all sitemaps from the given website.
  • pages_from_sitemaps(website_url): 🌐 Extracts and returns a list of page URLs from the sitemaps of the given website.
  • sitemap_indicated_on_robots(website_url): πŸ“‹ Checks if at least one sitemap is indicated in the robots.txt file of the given website and returns a boolean.

Installation πŸ’»

You can install the package via pip:

pip install GIT+https://github.com/alexruco/dourado 

Alternatively, you can clone the repository and install the dependencies from requirements.txt:

git clone https://github.com/alexruco/dourado.git
cd dourado
pip install -r requirements.txt

Usage πŸ“š

Here's a quick example to get you started:

from dourado import dourado

# Example usage
website = 'https://mysitefaster.com/'

print(f"valid_sitemaps_robots: {dourado.valid_sitemaps_robots(website_url=website)}")
print(f"website_sitemaps: {dourado.website_sitemaps(website_url=website)}")
print(f"pages_from_sitemaps: {dourado.pages_from_sitemaps(website_url=website)}")
print(f"robots_exists: {dourado.robots_exists(website_url=website)}")
print(f"sitemap_indicated_on_robots: {dourado.sitemap_indicated_on_robots(website_url=website)}")

## Contributing 🀝

We welcome contributions from the community! Here’s how you can get involved:

1. **Report Bugs**: If you find a bug, please open an issue [here](https://github.com/alexruco/dourado/issues).
2. **Suggest Features**: We’d love to hear your ideas! Suggest new features by opening an issue.
3. **Submit Pull Requests**: Ready to contribute? Fork the repo, make your changes, and submit a pull request. Please ensure your code follows our coding standards and is well-documented.
4. **Improve Documentation**: Help us improve our documentation. Feel free to make edits or add new content.

### How to Submit a Pull Request

1. Fork the repository.
2. Create a new branch: `git checkout -b my-feature-branch`.
3. Make your changes and commit them: `git commit -m 'Add some feature'`.
4. Push to the branch: `git push origin my-feature-branch`.
5. Open a pull request on the original repository.

## Contact information
For any questions or suggestions, please contact:

    Alex Ruco: alex@ruco.pt
    GitHub: https://github.com/alexruco

## Honor
Named in the honor of FernΓ£o Dourado, a famous Portuguese cartographer of the sixteenth century

## License πŸ“„

This project is licensed under the MIT License. Feel free to use, modify, and distribute this software in accordance with the terms outlined in the [LICENSE](LICENSE) file.

dourado's People

Contributors

alexruco 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.