webrecorder / browsertrix-crawler

Run a high-fidelity browser-based web archiving crawler in a single Docker container
https://crawler.docs.browsertrix.com
GNU Affero General Public License v3.0
657 stars 83 forks source link

Youtube Video Quality #648

Open fservida opened 4 months ago

fservida commented 4 months ago

Trying to archive a youtube video page, but quality is always very low even though the video is available in all kind of resolutions. Is there a way to force a higher resolution? or is this an issue with the debugging mode of chrome?

Would it be feasible to integrate, as a "postprocessing step", but still in browsertrix, to save to the wacz, something like yt-dlp to preserve the best quality available?

wsdookadr commented 3 months ago

@fservida

Is there a way to force a higher resolution?

While not directly answering your question for browsertrix, there is an off-the-shelf solution tubearchivist for your use-case. Quoting from their docs:

Go through the settings page and look at the available options. Particularly set Download Format to your desired video quality before downloading