You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #48 fix: youtube transcipt auth issue by using ready-made lib (chr-hertel)
This PR was merged into the main branch.
Discussion
----------
fix: youtube transcipt auth issue by using ready-made lib
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| Docs? | no
| Issues |
| License | MIT
Cherry picking php-llm/llm-chain#353
Commits
-------
8314df4 fix: youtube transcipt auth issue by using ready-made lib (#353)
thrownewLogicException('The Symfony DomCrawler component is required to use this tool. Try running "composer require symfony/dom-crawler".');
32
-
}
33
-
if (!class_exists(CssSelectorConverter::class)) {
34
-
thrownewLogicException('The Symfony CSS Selector component is required to use this tool. Try running "composer require symfony/css-selector".');
29
+
if (!class_exists(TranscriptListFetcher::class)) {
30
+
thrownewLogicException('The package `mrmysql/youtube-transcript` is required to use this tool. Try running "composer require mrmysql/youtube-transcript".');
35
31
}
36
32
}
37
33
@@ -40,40 +36,14 @@ public function __construct(
40
36
*/
41
37
publicfunction__invoke(string$videoId): string
42
38
{
43
-
// Fetch the HTML content of the YouTube video page
0 commit comments