我可以使用inspect元素从网站获取数据吗? [英] Can I fetch the data from website using inspect element?

查看:206
本文介绍了我可以使用inspect元素从网站获取数据吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我确实要求从网站上获取数据。我可以使用开发者选项中的Inspect元素并从网站上获取数据吗?



从某种意义上说,我们得到一份报告。我想捕获该报告(当我用Inspect Element检查时,数据在

Hi,

I do have a requirement of fetching the data from the website. can i use the Inspect element from the developer options and fetch the data from the website?

Data in the sense, we get a report. I want to capture that report (When i checked with Inspect Element, the data is there in

中。



任何帮助都表示赞赏。提前致谢。



我尝试了什么:



我尝试使用Inspect Element选项但不确定关于获取数据。
.

Any help is appreciated. Thanks in advance.

What I have tried:

I tried using Inspect Element option but unsure about fetching the data.

推荐答案

Inspect element是某些浏览器的GUI功能,你不能在代码中使用它,这样做是没有意义,因为你可以通过其他方式获取数据。



这是关于从其他人的网站获取数据的第10个问题,人们不愿意回答这些问题因为这种做法通常被认为是不道德的。谷歌屏幕抓取c#你可能会找到一些例子,但是不太可能有人花时间来向你展示如何从其他人的网站上获取数据。
"Inspect element" is a GUI feature of some browsers, you can't use it from code and doing so is pointless as you can get the data other ways.

This is about your 10th question regarding getting data from other people's websites, people are reluctant to answer these questions because the practice is generally considered unethical. Google "screen scraping c#" and you'll probably find examples, but it's unlikely someone is going to take time out of their day to show you how to take data from other people's sites.


这篇关于我可以使用inspect元素从网站获取数据吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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