Hi, I have a python script to bulk download historical data, however today I just keep hitting a Cloudflare "Please wait" page meaning that 99% of my downloads fail and I'm left with a file that looks like the below. Is there an issue?
Note I can't paste the word "script" without getting a 403 so had to edit it to say s.c.r.i.p.t below
Note I can't paste the word "script" without getting a 403 so had to edit it to say s.c.r.i.p.t below
Code:
<!DOCTYPE html>
<html lang="en" ng-app="myApp" class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Exchange Historical Data</title>
<meta name="des.c.r.i.p.tion" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="app/style.css">
<s.c.r.i.p.t>
var dataLayer = [];
dataLayer.push({
'event': 'ga_pageLoad', //denotes the signal to gtm that a page has loaded.
'ga_target_property': 'UA-96801787-1', //denotes the appropriate ga tracking id for this product and device type.
'acc_id': null,//[account ID], //denotes the numeric account id for the user at page load.
'vertical': 'ecomm', //denotes the channel/vertical of the loaded page. Values will include 'sports', 'games', 'promotions', 'ecomm', etc.
'product': 'historicprices', //denotes the platform/product of the loaded page. Values will include sportsbook smx, sportsbook sbw, etc.
'locale': null,// [locale], //denotes the language of the user at time of page load, as set by the language selector. Values will only be in iso 639-1 format.
'reg_status': null,// [reg status], //denotes the registration status of the user at time of page load. Values will only be 'registered' or 'unregistered'. THIS IS NOT A FUNCTION OF LOGIN STATUS.
'login_status': null,//[login status], //denotes the login status of the user at time of page load. Values will only be 'logged in' or 'logged out'.
'jurisdiction': null,//[jurisdiction], //denotes the jurisdicton from where the user is operating in and subject to. Values will include 'uk/irl', 'international', 'spain', 'italy, etc.
'orientation': 'desktop', //denotes the orientation of the screen at time of page load. Values will only be 'portrait', 'landscape' or 'desktop'.
'app_id': 'historicdata', //denotes the alphanumeric app id of the app, app key or cougar key at time of page load.
'country': null,//[country], //denotes the user's country as dictated by geo ip lookup.
'bucket_id': null,//[bucket_id], //used when using mantis buckets for throttling different versions.
'test_group': null,//[test_group], //used for split testing.
'test_name': null,//[test_name], //used for split testing.
'efid': null,//[efid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
'rfr': null,//[rfr], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
'pid': null,//[pid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
'ttp': null,//[ttp], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
'bid': null,//[bid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
'pid': null,//[pid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
'promo_code': null,//[promo_code], //marketing parameter. Value is set as cookie at registration and populates the gtm schema.
'mpch': null,//[mpch], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
'pla': null,//[pla], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
'clkid': null,//[clkid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
'sid': null,//[sid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
'StickyTags': null,//[StickyTags], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
'TrackingTags': null,// [trackingTags], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
'device_model': "chrome", //denotes the marketing name of device as according to device detection service (i.e. iphone 6s, galaxy s7 edge etc.)
'brand': "bf" //denotes the bf or pp brand.
});
</s.c.r.i.p.t>
<s.c.r.i.p.t>
(function (w, d, s, l, i) {
w[l] = w[l] || []; w[l].push({
'gtm.start':
new Date().getTime(), event: 'gtm.js'
}); var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
})(window, document, 's.c.r.i.p.t', 'dataLayer', 'GTM-NN99G4H');
</s.c.r.i.p.t>
</head>
<body>
<nos.c.r.i.p.t>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NN99G4H" height="0" width="0" style="display:none;visibility:hidden"></iframe>
</nos.c.r.i.p.t>
<xdw-header></xdw-header>
<div class="main">
<div ng-view class="main-container"></div>
</div>
<div class="clear-fix"></div>
<xdw-footer></xdw-footer>
<p style="text-align:center"> Build 2018-10-03</p>
<s.c.r.i.p.t src="app/app.js"></s.c.r.i.p.t>
<s.c.r.i.p.t src="app/partials.js"></s.c.r.i.p.t>
<s.c.r.i.p.t defer src="https://static.cloudflareinsights.com/beacon.min.js/vaafb692b2aea4879b33c060e79fe94621666317369993" integrity="sha512-0ahDYl866UMhKuYcW078ScMalXqtFJggm7TmlUtp0UlD4eQk0Ixfnm5ykXKvGJNFjLMoortdseTfsRT8oCfgGA==" data-cf-beacon='{"rayId":"7a09631538818885","token":"d048f65d27954a24aa6b1d7d2ddcb256","version":"2023.2.0","si":100}' crossorigin="anonymous"></s.c.r.i.p.t>
</body>
</html>


Comment