Closed LeMoussel closed 7 years ago
@LeMoussel good idea!
You can add PR if you want. Or i will add PR with fix today evening or tomorrow.
Now we can get sitemaps links only like this:
$rules = $parser->getRules('*');
var_dump($rules['sitemap'])
Not so difficult but getSitemaps will be better.
I don't know GitHub commands. Can you add PR to fix that?
added getSitemaps method in PR https://github.com/bopoda/robots-txt-parser/pull/8.
No public to get sitemap Url For example with this :
Maybe You can do something like this