Remove unneccassry `webpage` extraction

Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
This commit is contained in:
HobbyistDev 2024-04-11 07:22:28 +08:00 committed by GitHub
parent 6c311b14c6
commit 08563a1cad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -43,8 +43,6 @@ class GodResourceIE(InfoExtractor):
def _real_extract(self, url):
display_id = self._match_id(url)
# the website is oddly giving all request as 404 at first and then loaded with js
webpage, _ = self._download_webpage_handle(url, display_id, expected_status=404)
api_data = self._download_json(
f'https://api.godresource.com/api/Streams/{display_id}', display_id)