【问题标题】:How to detect google adsense ad in website by webcrawling如何通过网络抓取检测网站中的 google adsense 广告
【发布时间】:2014-09-02 09:18:29
【问题描述】:

我需要通过网络抓取找出任何网站上是否存在 google adsense 广告。我正在使用 JSOUP。我得到了除 google adsense ad iframe 之外的所有 html 标签元素。我怎样才能得到这个?

感谢任何建议。

谢谢

【问题讨论】:

    标签: jsoup web-crawler adsense


    【解决方案1】:

    你可以检测到这些脚本(reg exp):

    googlesyndication\\.com/pagead/show_ads\\.js
    ad\\.ca\\.doubleclick\\.net
    2mdn\\.net
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-08-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多