aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/kuwo.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/kuwo.py')
-rw-r--r--yt_dlp/extractor/kuwo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/kuwo.py b/yt_dlp/extractor/kuwo.py
index cfec1c50f..e8a061a10 100644
--- a/yt_dlp/extractor/kuwo.py
+++ b/yt_dlp/extractor/kuwo.py
@@ -91,7 +91,7 @@ class KuwoIE(KuwoBaseIE):
webpage, urlh = self._download_webpage_handle(
url, song_id, note='Download song detail info',
errnote='Unable to get song detail info')
- if song_id not in urlh.geturl() or '对不起,该歌曲由于版权问题已被下线,将返回网站首页' in webpage:
+ if song_id not in urlh.url or '对不起,该歌曲由于版权问题已被下线,将返回网站首页' in webpage:
raise ExtractorError('this song has been offline because of copyright issues', expected=True)
song_name = self._html_search_regex(