extract-youtube 1.0.1 β†’ 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,17 +8,7 @@ A production-ready TypeScript port of the popular Python [`youtube-transcript-ap
8
8
 
9
9
  ### πŸš€ **Superior to Other NPM Alternatives**
10
10
 
11
- **The #1 choice when the Python package isn't an option.** This is not just another scraping libraryβ€”it's a complete, production-ready port of the most reliable YouTube transcript solution.
12
-
13
- ```
14
- Bundle Size Serverless TypeScript Reliability
15
- extract-youtube 7KB ⚑ βœ… Yes βœ… Full ⭐⭐⭐⭐⭐
16
- youtube-transcript 25KB 🐌 ⚠️ Limited ⚠️ Partial ⭐⭐⭐
17
- Other packages 20-300KB 🐒 ❌ No ❌ None ⭐⭐
18
- ```
19
-
20
- **Key Advantages:**
21
-
11
+ -
22
12
  - βœ… **Proven algorithm** - Direct port of Python's `youtube-transcript-api` (100k+ monthly PyPI downloads)
23
13
  - βœ… **Serverless-first** - Works flawlessly in AWS Lambda, Vercel, Cloudflare Workers, Next.js Edge
24
14
  - βœ… **70% smaller** - ~7KB gzipped vs 20-30KB+ for alternatives
@@ -362,37 +352,6 @@ youtube-transcript: ~45MB ⚠️
362
352
  Python package: ~80MB ❌
363
353
  ```
364
354
 
365
- ## Migration Guide
366
-
367
- ### From `youtube-transcript` (npm)
368
-
369
- ```typescript
370
- // Before (youtube-transcript)
371
- import { YoutubeTranscript } from 'youtube-transcript';
372
- const transcript = await YoutubeTranscript.fetchTranscript(videoId);
373
-
374
- // After (extract-youtube)
375
- import { YouTubeTranscriptApi } from 'youtube-transcript-api';
376
- const api = new YouTubeTranscriptApi();
377
- const transcript = await api.fetch(videoId);
378
- ```
379
-
380
- ### From Python `youtube-transcript-api`
381
-
382
- ```python
383
- # Before (Python)
384
- from youtube_transcript_api import YouTubeTranscriptApi
385
- transcript = YouTubeTranscriptApi().get_transcript('video_id')
386
- ```
387
-
388
- ```typescript
389
- // After (Node.js/TypeScript)
390
- import { YouTubeTranscriptApi } from 'youtube-transcript-api';
391
- const api = new YouTubeTranscriptApi();
392
- const transcript = await api.fetch('video_id');
393
- ```
394
-
395
- The API is intentionally similar to make migration seamless!
396
355
 
397
356
  ## Reliability
398
357
 
@@ -489,22 +448,6 @@ try {
489
448
 
490
449
  MIT
491
450
 
492
- ## Credits
493
-
494
- TypeScript port of the excellent [youtube-transcript-api](https://github.com/jdepoix/youtube-transcript-api) by [@jdepoix](https://github.com/jdepoix).
495
-
496
- Special thanks to the Python package maintainers for creating such a robust and reliable transcript extraction algorithm.
497
-
498
451
  ## Contributing
499
452
 
500
453
  Contributions are welcome! Please feel free to submit a Pull Request.
501
-
502
- ## Support
503
-
504
- - πŸ› [Report Issues](https://github.com/yourusername/youtube-transcript-api/issues)
505
- - πŸ’¬ [Discussions](https://github.com/yourusername/youtube-transcript-api/discussions)
506
- - ⭐ Star this repo if you find it useful!
507
-
508
- ---
509
-
510
- **Made with ❀️ for the serverless and edge computing community**