Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/yt-dlp/yt-dlp into ytdlp
Browse files Browse the repository at this point in the history
* 'master' of https://github.com/yt-dlp/yt-dlp:
  [extractor/telegraaf] Use mobile GraphQL API endpoint
  • Loading branch information
Lesmiscore committed Sep 23, 2022
2 parents 4f132be + 3297251 commit aba1313
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion yt_dlp/extractor/telegraaf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ def _real_extract(self, url):
article_id = self._match_id(url)

video_id = self._download_json(
'https://www.telegraaf.nl/graphql', article_id, query={
'https://app.telegraaf.nl/graphql', article_id,
headers={'User-Agent': 'De Telegraaf/6.8.11 (Android 11; en_US)'},
query={
'query': '''{
article(uid: %s) {
videos {
Expand Down

0 comments on commit aba1313

Please sign in to comment.