1.2.1 • Published 2 years ago

youtube-recommendation-scraper v1.2.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 years ago

What is this

This is a micro-library that scrapes the recommended ids off of youtube.

It is a compoentn of a larger project to redesign the youtube homepage to minimize its distracting power

Most functionality is is in the scrape-recommendations.ts library

  • uses cypress for e2e tests
  • uses jest for unit and integreation tests

Here are all the exports from index.tsx

export {VideoInfo, MaybeVideoInfo, ScrapedVideoInfo, FailedVideoInfo} from './types';
export {ALL_VIDEO_ID_LOCAL_STORAGE_NAME} from './constants';

export {
  retrieveAllIdList,
  saveAllIdList,
  appendToAllIdList,
  saveAllVideoInfoList,
  retrieveAllVideoInfoList,
} from './store-ids';

export {
  extractAllRecommendationIds,
  retrievePageHtml,
} from './scrape-recommendations';

export {
  fetchVideoInfoGroupFromHomePage,
  fetchAllVideoInfoGroupsFromHomePage,
  fetchAndSetVideoInfoGroup,
  fetchInfoFromIds,
} from './fetch-info-from-ids';

notes

1.2.0

2 years ago

1.1.1

2 years ago

1.0.2

2 years ago

1.1.0

2 years ago

1.2.1

2 years ago

1.1.2

2 years ago

0.1.0

2 years ago

0.0.3

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.0

3 years ago