mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-02-13 22:55:43 +01:00
Update lib/fetchTranscript.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -21,7 +21,7 @@ export async function fetchTranscriptContent(
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
process.stderr.write(`Error fetching transcript: ${response.statusText}\n`);
|
process.stderr.write(`Error fetching transcript from ${url}: ${response.statusText}\n`);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return await response.text();
|
return await response.text();
|
||||||
|
|||||||
Reference in New Issue
Block a user