使用Js类别脚本网站抓取网站

时间:2017-11-22 08:25:55

标签: javascript web-scraping

我想帮助使用此js类别脚本删除网站。该脚本显然使得抓取网站具有挑战性,因为它限制了我得到的输出

<script>
    $(document).ready(function () {
        if ('00000000-0000-0000-da7a-000000580001' == '00000000-0000-0000-da7a-000000580003') {
            $('.ragingCarousel').hide();
            $('.lipBannerDiv').show();
        }  
        var parentLocation = window.location.href;
        if (parentLocation.toLowerCase() === "/event/inplay" || parentLocation.toLowerCase() === "/event/livesport/" || (parentLocation.toLowerCase() === "/bet/eventmultimarket" && $('#multi-head').hasClass('inPlayBg'))) {
            $('#sb_id.active, #mb_id.active, .betslip-trapezoid, #placeCashBet, #removeAllOutcomesBtn, #betslipBtn, #BetslipBtn, #placeFreeBet, #removeAllOutcomesBtn').addClass("liveInPlayClr");
        }      
    });
</script>

0 个答案:

没有答案