【发布时间】:2019-11-18 22:38:31
【问题描述】:
假设我正在抓取一个网页,并从其中抓取所有链接。在python中,我怎样才能转换这样的链接:
Catalog.php
Products.aspx
Contact.html
到像这样的实际链接:
https://example.com/Catalog.php
https://example.com/Products.aspx
https://example.com/Contact.html
我使用 DuckDuckGo 的强大功能到处搜索堆栈溢出。也许这个问题有重复,但我不知道如何表达这个问题。
【问题讨论】:
标签: python url web-scraping web-crawler uri