Updated Dependencies + Added Comments
This commit is contained in:
parent
724af523ff
commit
9c824bfdd6
8
index.ts
8
index.ts
|
@ -1,5 +1,9 @@
|
||||||
"use strict";
|
/**
|
||||||
|
* @file Scrapes https://trendogate.com and creates a .csv of historical trending data
|
||||||
|
* @author Rekai Musuka <rk306597@dal.ca>
|
||||||
|
* @license MIT
|
||||||
|
* @version 2020.03.17
|
||||||
|
*/
|
||||||
import { addDays, format } from 'date-fns';
|
import { addDays, format } from 'date-fns';
|
||||||
import cheerio from 'cheerio';
|
import cheerio from 'cheerio';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
{
|
{
|
||||||
"name": "trendogate_scraper",
|
"name": "trendogate_scraper",
|
||||||
"version": "1.0.0",
|
"version": "2020.03.17",
|
||||||
"description": "Scrapes information from https://trendogate.com/ for CSCI 1107",
|
"description": "Scrapes information from https://trendogate.com/ for CSCI 1107",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": "ssh://gitea@git.paoda.moe:31059/paoda/trendogate_scraper.git",
|
"repository": "ssh://gitea@git.paoda.moe:31059/paoda/trendogate_scraper.git",
|
||||||
"author": "paoda <musukarekai@gmail.com>",
|
"author": "paoda <musukarekai@gmail.com>",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./out/index.js"
|
"start": "node ./out/index.js",
|
||||||
|
"watch": "tsc --watch"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
"module": "CommonJS",
|
"module": "CommonJS",
|
||||||
"outDir": "out",
|
"outDir": "out",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"esModuleInterop": true
|
"esModuleInterop": true,
|
||||||
|
"alwaysStrict": true
|
||||||
},
|
},
|
||||||
"compileOnSave": true
|
"compileOnSave": true
|
||||||
}
|
}
|
12
yarn.lock
12
yarn.lock
|
@ -10,9 +10,9 @@
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/node@*":
|
"@types/node@*":
|
||||||
version "13.7.7"
|
version "13.9.1"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.7.7.tgz#1628e6461ba8cc9b53196dfeaeec7b07fa6eea99"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.9.1.tgz#96f606f8cd67fb018847d9b61e93997dabdefc72"
|
||||||
integrity sha512-Uo4chgKbnPNlxQwoFmYIwctkQVkMMmsAoGGU4JKwLuvBefF0pCq4FybNSnfkfRCpC7ZW7kttcC/TrRtAJsvGtg==
|
integrity sha512-E6M6N0blf/jiZx8Q3nb0vNaswQeEyn0XlupO+xN6DtJ6r6IT4nXrTry7zhIfYvFCl3/8Cu6WIysmUBKiqV0bqQ==
|
||||||
|
|
||||||
axios@^0.19.2:
|
axios@^0.19.2:
|
||||||
version "0.19.2"
|
version "0.19.2"
|
||||||
|
@ -54,9 +54,9 @@ css-what@2.1:
|
||||||
integrity sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==
|
integrity sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==
|
||||||
|
|
||||||
date-fns@^2.10.0:
|
date-fns@^2.10.0:
|
||||||
version "2.10.0"
|
version "2.11.0"
|
||||||
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.10.0.tgz#abd10604d8bafb0bcbd2ba2e9b0563b922ae4b6b"
|
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.11.0.tgz#ec2b44977465b9dcb370021d5e6c019b19f36d06"
|
||||||
integrity sha512-EhfEKevYGWhWlZbNeplfhIU/+N+x0iCIx7VzKlXma2EdQyznVlZhCptXUY+BegNpPW2kjdx15Rvq503YcXXrcA==
|
integrity sha512-8P1cDi8ebZyDxUyUprBXwidoEtiQAawYPGvpfb+Dg0G6JrQ+VozwOmm91xYC0vAv1+0VmLehEPb+isg4BGUFfA==
|
||||||
|
|
||||||
debug@=3.1.0:
|
debug@=3.1.0:
|
||||||
version "3.1.0"
|
version "3.1.0"
|
||||||
|
|
Reference in New Issue