如何使用包含“ _ngcontent-c1”标签的rvest html内容进行网页抓取?

时间:2020-05-28 07:35:42

标签: html css r web-scraping rvest

我正在尝试使用rvest在R中抓取html内容,但是有些方法不起作用...

HTML内容类似于this

我尝试过:

<iframe width="1140" height="733"
        class="lazy-youtube"
        data-src="https://www.youtube.com/embed/{{ video-id }}?rel=0"
        frameborder="0"
        allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
        allowfullscreen title="Youtube Video"></iframe>

但是我没有得到任何结果...“ _ ngcontent-c1”标签会影响我的方法吗?我想念什么?

0 个答案:

没有答案
相关问题