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

implement proxy server #290

Closed
wants to merge 14 commits into from
Closed

implement proxy server #290

wants to merge 14 commits into from

Conversation

yxxyun
Copy link
Contributor

@yxxyun yxxyun commented Oct 27, 2024

#283
#260

This PR extends the original go server, implementing two functionalities:

  1. It implements multi-threaded downloading of multimedia files to achieve faster loading. Since mpv receives a URL, we need to implement a multimedia proxy service. Normal usage is:
    $baseUrl/?thread=8&url=https://xxxx&header=$headers

  2. It implements an ad-removal feature for m3u8 files, specifically targeting cases where ad segments and main content segments have different URLs.
    Usage method:
    url: ${proxyUrl}/proxy?url=${encodeURIComponent(url)}

@kodjodevf
Copy link
Owner

As I see it is only used for QuarkUcExtractor and can you give me more details and I think the application doesn't really need this feature.

@yxxyun
Copy link
Contributor Author

yxxyun commented Oct 29, 2024

Online video formats such as mp4, similar to url like http://xxx.xx/xxxx.mp4, can all use this service for multi-threaded download acceleration.

@yxxyun yxxyun closed this Nov 11, 2024
@yxxyun yxxyun deleted the proxyserver branch November 19, 2024 00:41
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.

2 participants