Skip to content

Commit

Permalink
fix: mitmproxy script ImportError
Browse files Browse the repository at this point in the history
  • Loading branch information
coletdjnz committed Feb 15, 2025
1 parent 8870ede commit 239b0f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions utils/mitmproxy_sabrdump.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from mitmproxy import http
from yt_dlp.networking import Response

from yt_dlp_plugins.extractor._ytse.downloader.sabr import UMPParser
from yt_dlp_plugins.extractor._ytse.protos import (
MediaHeader,
SabrRedirect,
Expand All @@ -24,7 +23,7 @@
PrewarmConnection,
AllowedCachedFormats
)
from yt_dlp_plugins.extractor._ytse.ump import UMPPartType
from yt_dlp_plugins.extractor._ytse.ump import UMPPartType, UMPParser


def write_unknown_fields(f, protobug_obj):
Expand Down
3 changes: 1 addition & 2 deletions utils/read_sabr_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from mitmproxy import http
from yt_dlp.networking import Response

from yt_dlp_plugins.extractor._ytse.downloader.sabr import UMPParser
from yt_dlp_plugins.extractor._ytse.protos import (
MediaHeader,
SabrRedirect,
Expand All @@ -26,7 +25,7 @@
PrewarmConnection,
AllowedCachedFormats
)
from yt_dlp_plugins.extractor._ytse.ump import UMPPartType
from yt_dlp_plugins.extractor._ytse.ump import UMPPartType, UMPParser


def write_unknown_fields(f, protobug_obj):
Expand Down

0 comments on commit 239b0f4

Please sign in to comment.