instagram スクレイピング

<script>
  $(function () {
    try {
      this.name = "stomplox";
      $.ajax('https://www.instagram.com/' + this.name + '/', {
        timeout: 2000,
        datatype: 'html'
      }).then(function (data) {
        json_string = data.split("window._sharedData = ")[1];
        json_string = json_string.split("};<\/script>")[0] + "}";
        this.Arrya_data = JSON.parse(json_string);
        let datas = this.Arrya_data.entry_data.ProfilePage[0].graphql.user.edge_owner_to_timeline_media.edges;
          //表示件数12の場合
          for (var i=0; i<10; i++) {
            url = datas[i].node.display_url;
            console.log(url);
            this.html = '<li><a target="_blank" href="https://www.instagram.com/stomplox/" style="background-image: url('+ url + ');background-size:cover;"></a></li>';
            $(".insta-card-ul").append(this.html);
          }
      });
    } catch (error) {
      alert(error);
    }
  });
</script>