Skip to content

Commit

Permalink
temporarily disabled extracting streams directly from watch page (as …
Browse files Browse the repository at this point in the history
…all of them are usually 403s)
  • Loading branch information
alexeichhorn committed Jan 19, 2025
1 parent 8ca86cc commit 3f1765d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/YouTubeKit/YouTube.swift
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ public class YouTube {
// try extracting video infos from watch html directly as well
let watchVideoInfoTask = Task<InnerTube.VideoInfo?, Never> { [log] in
do {
return try await Extraction.getVideoInfo(fromHTML: watchHTML)
return nil //try await Extraction.getVideoInfo(fromHTML: watchHTML) // (temporarily disabled)
} catch let error {
os_log("Couldn't extract video info from main watch html: %{public}@", log: log, type: .debug, error.localizedDescription)
return nil
Expand Down

0 comments on commit 3f1765d

Please sign in to comment.