Open kox-solid opened 1 month ago
protego == 0.3.1
from protego import Protego content = """ User-agent: * Allow: /*/filter/page=*/$ Disallow: / """ robots = Protego.parse(content) user_agent = "mozilla" url = "https://example.com/1/filter/page=5/" print(robots.can_fetch(url, user_agent))
returns False instead of True
protego == 0.3.1
returns False instead of True