Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add browser traffic scanning feature #549

Open
wants to merge 119 commits into
base: master
Choose a base branch
from

Conversation

mp3butcher
Copy link

@mp3butcher mp3butcher commented Nov 18, 2024

not to merge right now..just for review, and testing...

How the feature works:
When browsing through proxy all traffic is sent to OpenVideoDownloader on port 1200 as json and then can be analysed easily to find standard streaming tech in request response (HLS,Dash,partial-content video) then url and request headers are sent to ydl for download...

Check build here: https://github.com/mp3butcher/youtube-dl-gui/releases/latest
(Note: I dl mitmproxy from https://github.com/mp3butcher/mitmproxy for zip convenience but you can check I haven't changed anything).

I added macos build too but haven't test if it works, so feel free to report macos problem here

A typical use case for this feature is when page of the video is dynamically loaded with javascript. But what's interesting is that it passes headers to ydl such as the mandatory referer for cross domain embed videos.

How to use scanner:

  1. When scanner activated the first time don't forget to install mitmproxy authority certificate (cf image)
    Screenshot from 2024-10-07 16-37-04
  2. I recommend to use browser proxy switcher extension such as this extension to easily enable/disable use of proxy while browsing (set it up proxy=localhost and port=15930)
    Screenshot from 2024-10-07 16-43-32
  3. Browse to a streaming content and let the scanner capture the video

StefanLobbenmeier and others added 30 commits September 8, 2022 23:55
…cked-folder

Add file in binaries to force asar to create the unpacked directory
Download yt-dlp_macos_legacy on older MacOS versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants