Site Crawling

  • Hello!

    I tried for days to do something, but I'm block for the moment, so, I will need a little help from you guys!

    What I want to make

    Let's say that we have this site, greatstuff.com. Ok, so, there I will place my game with a google ad mid-roller (an gaming ad for desktop, that is placed in the middle of the game, when player die, or he goes level up, or something like that). From some months, Google implemented "ads.txt", and if your google id publisher is not listed there, your AD will not show. So the game to work, at greatstuff.com/ads.txt you have to find your pub-id.

    So, I want to check if that site have my pub-id in the ads.txt, and if is there, the game will work, if not, it will appear a message informing the webmaster about adding my pub-id so that the game can work.

    Ok, so... how can I verify this? I have to trunc the domain to have "greatstuff.com" (because with Browser.domain you will have the full link, like greatstuff.com/mygame.html) and to concatenate with "/ads.txt", so, I will be on that page. Ok, now.. how I can crawl that page? How can I find if there is listed my pub-id?

    Anyone have done this? Anyone have an idea?

    Thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)