Skip to content

analyze_headings=True is not defined #118

Description

@Muhammadhassan1226

Describe the bug

Passing analyze_headings=True to the analyze() function raises a TypeError because the argument is not defined in the function signature or handled internally in the library.

To Reproduce
Steps to reproduce the behavior:

Install python-seo-analyzer via pip

Create a Python script with the following code:

from seoanalyzer import analyze

output = analyze("https://example.com", analyze_headings=True)

Run the script

See error

Expected behavior

The analyze() function should either:

Accept and handle the analyze_headings parameter, or

The documentation/examples should be updated to remove or clarify that this parameter is not supported.

Screenshots

https://ibb.co/QvbMMJw3

https://ibb.co/tTbJh0SH

Desktop :

  • OS: Windows 11
  • Browser : Chrome
  • Version 139.0.7258.139 (Official Build) (64-bit)

Additional context
Initially, the function begins execution and takes approximately 33 seconds before ultimately resulting in a timeout error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions