且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

获取字符串中的所有HTML链接

更新时间:2023-02-18 20:55:45

它对我有用(有点)。在代码中添加一些打印语句,以查看变量在每个步骤中包含的值。在 print(* links)
it works (sort of) for me. Add some print statements in the code to see what values your variables contain at each step. Also add a break statement after print(*links)