yudukikun5120 / trios-scraper

Scraper for the TRIOS (Researchers Directory of the University of Tsukuba) written in TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TRIOS scraper

This is a scraper for the TRIOS website and gives you the way to get the researchers' data from TypeScript in a structured way.

Usage

import { getResearcher, searchResearcher } from 'trios-scraper';

searchResearcher("山田 太郎")
  .then((researchers) => researchers.find((researcher) => researcher))
  .then((researcher) => researcher?.id)
  .then((id) => (id ? getResearcher(id) : null))
  .then((researcher) => researcher?.取得学位)
  .then(console.log);

// [
//   { date: '2000-02', degree: '薬学博士', school: '筑波大学' }
// ]

About

Scraper for the TRIOS (Researchers Directory of the University of Tsukuba) written in TypeScript


Languages

Language:TypeScript 100.0%