Skip to content

Commit

Permalink
[ie/njpwworld] Remove (yt-dlp#8570)
Browse files Browse the repository at this point in the history
Authored by: aarubui
  • Loading branch information
aarubui authored and aalsuwaidi committed Apr 21, 2024
1 parent 69e4935 commit 900b6e7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 84 deletions.
1 change: 0 additions & 1 deletion supportedsites.md
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,6 @@
- **Nitter**
- **njoy**: N-JOY
- **njoy:embed**
- **NJPWWorld**: [*njpwworld*](## "netrc machine") 新日本プロレスワールド
- **NobelPrize**
- **NoicePodcast**
- **NonkTube**
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/_extractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,6 @@
from .ninenow import NineNowIE
from .nintendo import NintendoIE
from .nitter import NitterIE
from .njpwworld import NJPWWorldIE
from .nobelprize import NobelPrizeIE
from .noice import NoicePodcastIE
from .nonktube import NonkTubeIE
Expand Down
82 changes: 0 additions & 82 deletions yt_dlp/extractor/njpwworld.py

This file was deleted.

8 changes: 8 additions & 0 deletions yt_dlp/extractor/unsupported.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class KnownDRMIE(UnsupportedInfoExtractor):
r'joyn\.de',
r'amazon\.(?:\w{2}\.)?\w+/gp/video',
r'music\.amazon\.(?:\w{2}\.)?\w+',
r'(?:watch|front)\.njpwworld\.com',
)

_TESTS = [{
Expand Down Expand Up @@ -141,6 +142,13 @@ class KnownDRMIE(UnsupportedInfoExtractor):
# https://github.com/yt-dlp/yt-dlp/issues/5767
'url': 'https://www.hulu.com/movie/anthem-6b25fac9-da2b-45a3-8e09-e4156b0471cc',
'only_matching': True,
}, {
# https://github.com/yt-dlp/yt-dlp/pull/8570
'url': 'https://watch.njpwworld.com/player/36447/series?assetType=series',
'only_matching': True,
}, {
'url': 'https://front.njpwworld.com/p/s_series_00563_16_bs',
'only_matching': True,
}]

def _real_extract(self, url):
Expand Down

0 comments on commit 900b6e7

Please sign in to comment.