Dr Aronnax, answered Captain Nemo, |
https://jldblog.github.io/lfpe/
Lex Fridman Podcast — Episodes Explorer is an application that allows you to search for episodes (by guests, titles, tags & dates) in the Lex Fridman Podcast.
Note: this project is not related to Lex Fridman.
The online demo of this project on GitHub is here : https://jldblog.github.io/lfpe/
We assume that Node.js 18+ is installed.
git clone https://github.com/jldblog/lfpe.git
cd lfpe
npm install
The script src/scripts/generate-db.ts
uses the Youtube Data API v3.
You must create a Youtube API key, see how to do this on Obtaining authorization credentials or on this tutorial with examples.
export YOUTUBE_API_KEY=your-youtube-api-key-here
And now you can run the script with this command (as defined in package.json
);
npm run generatedb
You should obtain something like:
> lfpe@1.0.1 generatedb
> npx tsx src/scripts/generate-db.ts
Found video: VPaOy3G1-2A
Found video: 2yHr9DPnSzk
Found video: r4wLXNydzeY
...
...
Add episode: 3
Add episode: 2
Add episode: 1
402 episodes found
Saved src/assets/db.json
Note (with a deep mathematical consideration):
- #84 episode is private, see here why.
- #100 episode is on another channel, but we added it in
generate-db.ts
. - So it is normal if the script found for example 402 episodes even if the current last episode is #403 !
ng serve
...
...
Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/
- Demo : https://jldblog.github.io/lfpe/
- Lex Fridman Web Site & Lex Fridman Channel on YouTube
- My blog (in French)
- To finish, a nod to the project that gave me the idea to develop this application : agadmator-library