附加到linkextractor链接的碎片

2024-09-29 04:18:48 发布

您现在位置:Python中文网/ 问答频道 /正文

我使用CrawlSpider和{}对链接进行爬网。在

我该如何向LinkExtractor找到的链接追加参数?我想将'?pag_sortorder=0&pag_perPage=999'添加到LinkExtractor提取的每个链接。在


Tags: 参数链接sortorderpagcrawlspiderperpagelinkextractor