Skip to content

Commit

Permalink
Misc cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pukkandan committed Jan 2, 2023
1 parent f1bf62e commit 163e68c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[metadata]
name = YTNsigProxy
name = yt-dlp-sample-plugins
version = 2023.01.01

[options]
Expand Down
3 changes: 0 additions & 3 deletions yt_dlp_plugins/extractor/sample.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

# ⚠ Don't use relative imports
from yt_dlp.extractor.common import InfoExtractor

Expand All @@ -13,7 +11,6 @@
# ⚠ The class name must end in "IE"
class SamplePluginIE(InfoExtractor):
_WORKING = False
IE_DESC = False
_VALID_URL = r'^sampleplugin:'

def _real_extract(self, url):
Expand Down
5 changes: 2 additions & 3 deletions yt_dlp_plugins/postprocessor/sample.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# coding: utf-8

# ⚠ Don't use relative imports
from yt_dlp.postprocessor.common import PostProcessor


# ℹ️ See the docstring of yt_dlp.postprocessor.common.PostProcessor

# ⚠ The class name must end in "PP"


class SamplePluginPP(PostProcessor):
def __init__(self, downloader=None, **kwargs):
# ⚠ Only kwargs can be passed from the CLI, and all argument values will be string
Expand Down

0 comments on commit 163e68c

Please sign in to comment.