开发者

Generating link preview and detect video/image using a URL!

开发者 https://www.devze.com 2023-01-20 22:27 出处:网络
I am getting the HTML content of the page using the URL. once i got the HTML i m striping all the images using Xpath. I m stuck at how to fetch th开发者_如何学JAVAe video content. If i try checking fo

I am getting the HTML content of the page using the URL. once i got the HTML i m striping all the images using Xpath. I m stuck at how to fetch th开发者_如何学JAVAe video content. If i try checking for embed code ,it gives me all the adds inside the page. Please suggest me a workaround. Thanks in advance.


Use something yql to solve this problem. http://developer.yahoo.com/yql/guide/yql-code-examples.html#yql_javascript

0

精彩评论

暂无评论...
验证码 换一张
取 消