Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

πŸ“° WPInfo

WPInfo is a lightweight Python library that extracts publicly available information from any WordPress website.

It fetches metadata such as site title, theme name, plugin hints, RSS feed, sitemap, WordPress version (if visible), and more β€” all using clean and simple Python code.


πŸš€ Features

  • Get site title and meta description
  • Detect WordPress version (if disclosed)
  • Extract active theme name
  • Detect plugin paths
  • Find RSS feed, sitemap, and robots.txt URLs
  • Clean, simple interface with no dependencies other than requests and beautifulsoup4

πŸ“¦ Installation

You can install from PyPI:

pip install wpinfo

πŸ§ͺ Example Usage

from wpinfo import WPInfo
site = WPInfo("https://example.wordpress.com")
info = site.get_info()
for key, value in info.items():
 print(f"{key.capitalize()}: {value}")

🧠 Output Example

Title: Example WordPress Site
Meta_description: This is an example WordPress website.
Wordpress_version: WordPress 6.3.1
Theme: twentytwentythree
Plugins: contact-form-7, jetpack
Rss_feed: https://example.com/feed/
Sitemap: https://example.com/sitemap.xml
Robots_txt: https://example.com/robots.txt

πŸ›  Requirements

  • Python 3.7+
  • requests
  • beautifulsoup4

Install dependencies:

pip install -r requirements.txt

πŸ“ƒ License

This project is licensed under the MIT License.


✨ Author

Made with ❀️ by Deadpool2k
GitHub: @Deadpool2000


πŸ“¬ Contributions & Feedback

Pull requests, feature ideas, and bug reports are welcome.
Feel free to open an issue or submit a PR.

About

WPInfo is a lightweight Python library that extracts publicly available information from any WordPress website.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /