Skip to content

Commit

Permalink
Fixing download 404 error
Browse files Browse the repository at this point in the history
  • Loading branch information
athuler authored Jan 23, 2024
1 parent 90cbf55 commit 98c33f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions download.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require("video_data.php");
header('Content-Type: text/csv; charset=utf-16');
header('Content-Disposition: filename="data.csv"');

echo("Video ID, Views, Probability, Children, Child Paths, Parents, Paths\n");
foreach($GLOBALS["data"] as $videoID => $currentVideo) {
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function gtag(){dataLayer.push(arguments);}
<p>Made by <a href="https://github.com/athuler" target="__blank">athuler</a> with much blood, sweats, and so many tears.</p>
<div>
<a href="https://github.com/athuler/CgpGreyRockPaperScissors" target="__blank" class="col-auto">Source</a> |
<a href="download">Download Data</a> |
<a href="download.php">Download Data</a> |
<a href="https://github.com/athuler/CgpGreyRockPaperScissors/issues" target="__blank">Report a Bug</a> |
<a href="https://github.com/sponsors/athuler" target="__blank" class="col-auto"><img src="https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86"/></a>
</div>
Expand Down

0 comments on commit 98c33f7

Please sign in to comment.