algolia / youtube-captions-scraper

Fetch youtube user submitted or fallback to auto-generated captions
249 stars 67 forks source link

Legality of scraping YouTube captions #19

Closed mgoldenbe closed 1 year ago

mgoldenbe commented 1 year ago

I am considering using your package to provide a valuable service to the users of my Chrome extension, but am not eager to get sued by YouTube or have my Chrome extension banned by Google for breaking their terms of service by scraping captions without an express permission. The linked article gives hope that this kind of scraping might be legal, but I'd like to know this for certain. Have you clarified this issue?

Haroenv commented 1 year ago

As far as I understand it, the captions fall under the same license as the video (source: https://opensource.stackexchange.com/questions/10676/licence-for-youtube-captions) and thus can only be used when you have rights to it (your own videos, Creative Commons videos etc) or if it's simply a different display for the subtitles on the same page

mgoldenbe commented 1 year ago

I agree. Since a video's creator intends the captions for personal use of the video's viewers, it stands to reason that a software product helping the viewers enhance that personal use is justified in scraping the captions on the viewer's behalf, doesn't it? Did you have something like this in mind when you created this package?

Haroenv commented 1 year ago

When creating this package, it was used to search through captions of selected videos that we either owned or had permission to, so a slightly more specific case.

I'd assume that what you're doing doesn't violate YouTube's terms of service

Note: I'm not a lawyer, this isn't legal advice