gpt4 book ai didi

c++ - 在 c++/g++ 中提取 html 文件的外部链接

转载 作者:太空宇宙 更新时间:2023-11-04 14:20:06 26 4
gpt4 key购买 nike

我想使用 g++ 列出 html 文件中的所有 url,我尝试使用 grep 但没有成功。谁能帮我做这件事?

非常感谢

最佳答案

您可以使用 boost::regex 在 html 代码中查找 url。

关于c++ - 在 c++/g++ 中提取 html 文件的外部链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8280869/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com