usoonees / logseq-plugin-whisper-subtitles

MIT License
17 stars 2 forks source link

age restricted video support #9

Open saccohuo opened 3 months ago

saccohuo commented 3 months ago

Hi, Is it possible to support age-restricted videos? Currently, the age-restricted videos give the prompt:

logseq-whisper-subtitle-server error: 8S_wP7aHl9A is age restricted, and can't be accessed without logging in.
usoonees commented 3 months ago

Ah, it seems that's a constraint within the pytube library. You can try manually downloading the video through the Downie app and then utilizing the local file in logseq instead.

saccohuo commented 3 months ago

Ah, it seems that's a constraint within the pytube library. You can try manually downloading the video through the Downie app and then utilizing the local file in logseq instead.

After download the video, I have to add the video file into the Logseq Library. It will make my graph large. I wanna know if it can extract subtitle from a video file outside.

usoonees commented 3 months ago

You can try to use an absolute path for extracting subtitles, such as

![out](/Users/username/Downloads/out.mp4)