获取网址

编程入门 行业动态 更新时间:2024-10-15 08:24:20
本文介绍了获取网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我必须从网站上收集一些重定向的网址。我可以使用像这样的get方法获取它们"www.sample/jump.php?list_id = 16531"。并将其重定向到另一个站点。例如,"www.sample/jump" .php?listing_id = 16531" ---> http://www.templateblocks/ 我有大约5000个listing_id。 我想知道我怎么能做一个机器人来获取和保存网址。

i have to collect some redirected urls from a web site. i can obtain them using get method like this "www.sample/jump.php?listing_id=16531".and it redirecting to another site.for example "www.sample/jump.php?listing_id=16531"--->www.templateblocks/i have about 5000 listing_id. i wonder that how can i do a bot to obtain and save urls.

推荐答案

System.Net和System.Uri主题应该去这个论坛: forums.msdn.microsoft/en-US/ncl/threads/ -Steve PS试用 HttpWebResponse。 Headers System.Net and System.Uri topics should go to this forum:  forums.msdn.microsoft/en-US/ncl/threads/       -SteveP.S. Try out HttpWebResponse.Headers

更多推荐

获取网址

本文发布于:2023-11-28 16:02:50,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1643060.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网址

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!