internetarchive / warcprox

WARC writing MITM HTTP/S proxy
371 stars 54 forks source link

v.2.5.1 - Watching Youtube over warcprox not working #195

Closed yacylover closed 8 months ago

yacylover commented 8 months ago

Hi,

I just installed warcprox 2.5.1 via command pip install git+https://github.com/internetarchive/warcprox.git

I found out that Youtube playback isn't working. Video page loads very well but playback won't start :-(

Please fix

Kind regards

Steve

galgeek commented 8 months ago

youtube captures that offer good youtube playback depend much more on the crawler used with warcprox and then the replay software. I'd check those first.

See, for instance, this recent youtube watch page capture made using warcprox: https://wayback.archive-it.org/18074/20231023064556/https://www.youtube.com/watch?v=wDxuqN2C-Vw

yacylover commented 8 months ago

Thank you very much. Yes, the archived youtube video at this URL works very well. I guess I have some certificate issues (the log shows that) that cause my playback/capture problem. What Linux distribution do you recommend running warcprox on?

TheTechRobo commented 8 months ago

Ensure that your browser has whatever CA certificate that Warcprox generated (or whatever one you gave it to use) set as 'trusted'.

yacylover commented 8 months ago

Thank you very much. Yeah, I did that a few weeks ago (Imported it in Firefox own keystore. But the behavior in browser was very strange: Youtube page loads very well without any cert warnings but the player stuck in an infinite loop at the very beginning of the video at 0:00. Warcprox logs showed some cert issues. But now I tested again under Fedora Linux 27 and the issues are gone.