获取特定链接的href字符串使用beautifulSoup,我想获得与某些href相关联的字符串,其中包含“/genre/”。例如,我使用以下命令获得了以下href: soup.find_all('a', href=True) ...2024-07-08 已阅读: n次