2020年のアニメタイトル一覧(2020/09/24現在)を、アニメイトタイムズ様のページからクロールしてJSONにまとめた。
- Node.js 14.3.0
npm install
node scraping.js
url
を欲しいクールに書き換える。
{
"winter": "https://www.animatetimes.com/tag/details.php?id=10978",
"spring": "https://www.animatetimes.com/tag/details.php?id=5228",
"summer": "https://www.animatetimes.com/tag/details.php?id=5806",
"autumn": "https://www.animatetimes.com/tag/details.php?id=5947"
}
クールによってはタイトル全てを取ってこれないのでループ回数の調整が必要です。