I'm trying to get the regular expression for "example.com/page/200/".
Here's what I've done so far:
rules = (Rule (SgmlLinkExtractor(
allow=("//page/\d+",),
restrict_xpaths=('xxxxx',)),
callback="details", follow= True),
)
Could anyone of you give me a solution? Thanks.