Skip to content

Commit

Permalink
Revert "[peertube] Detect embed URLs in generic extraction (closes #2…
Browse files Browse the repository at this point in the history
…1666)"

This reverts commit 5332dda.
  • Loading branch information
Lamieur committed Apr 20, 2020
1 parent 220d596 commit 10c93a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/peertube.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class PeerTubeIE(InfoExtractor):
@staticmethod
def _extract_peertube_url(webpage, source_url):
mobj = re.match(
r'https?://(?P<host>[^/]+)/videos/(?:watch|embed)/(?P<id>%s)'
r'https?://(?P<host>[^/]+)/videos/watch/(?P<id>%s)'
% PeerTubeIE._UUID_RE, source_url)
if mobj and any(p in webpage for p in (
'<title>PeerTube<',
Expand Down

0 comments on commit 10c93a1

Please sign in to comment.