如何从网站上获取没有扩展名的图像? [英] How to grab without extension images from a website?

查看:117
本文介绍了如何从网站上获取没有扩展名的图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,
我正在VB.Net中工作.我想从网页获取图像.该页面包含图像.当我复制该图像的链接位置/图像URL时,它将返回页面URL.该图像没有任何扩展名.像jpg,bmp,gif,png,tif ...等.
请帮忙.

Hi Friends,
I am working in VB.Net. I want to get images from a web page. That page contains a image. when i copy link location / image url of that image it returns page url. that image dont have any extension. like jpg, bmp, gif, png, tif... etc.
please help.

推荐答案

查看网页的源代码.在某个地方,您会找到图像的标签:<img src="http://url.to/image.jgp" />或类似标签.图片的网址可以是完整网址,也可以是相对于当前页面的网址.
Look at the source code of the web page. Somewhere, you''ll find the tag for the image: <img src="http://url.to/image.jgp" /> or similar. The url of the image can be a full url or relative to the current page.


这篇关于如何从网站上获取没有扩展名的图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆