Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VrtNU] Failed to parse JSON Invalid \escape #18362

Closed
vanhecke opened this issue Dec 1, 2018 · 0 comments
Closed

[VrtNU] Failed to parse JSON Invalid \escape #18362

vanhecke opened this issue Dec 1, 2018 · 0 comments
Labels

Comments

@vanhecke
Copy link

@vanhecke vanhecke commented Dec 1, 2018

  • I've verified and I assure that I'm running youtube-dl 2018.11.23
  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

  • Bug report (encountered problems with youtube-dl)

λ bin\youtube-dl.exe https://www.vrt.be/vrtnu/a-z/van-gils-gasten/2018/van-gils---gasten-d20181128/ -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.vrt.be/vrtnu/a-z/van-gils-gasten/2018/van-gils---gasten-d20181128/', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.11.23
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: ffmpeg 4.1, ffprobe 4.1
[debug] Proxy map: {}
[VrtNU] van-gils---gasten-d20181128: Downloading webpage
WARNING: [VrtNU] van-gils---gasten-d20181128: Failed to parse JSON Invalid \escape: line 6 column 21 (char 107)
[VrtNU] van-gils---gasten-d20181128: Downloading JSON metadata
[Canvas] pbs-pub-1f459b76-47e5-4c30-873a-f2ef3145e768$vid-9cdbf9f5-e635-4d0a-b630-253d64ab9b95: Downloading JSON metadata
[Canvas] pbs-pub-1f459b76-47e5-4c30-873a-f2ef3145e768$vid-9cdbf9f5-e635-4d0a-b630-253d64ab9b95: Downloading m3u8 information
WARNING: Failed to download m3u8 information: <urlopen error [Errno 11001] getaddrinfo failed>
[Canvas] pbs-pub-1f459b76-47e5-4c30-873a-f2ef3145e768$vid-9cdbf9f5-e635-4d0a-b630-253d64ab9b95: Downloading MPD manifest
WARNING: Failed to download MPD manifest: <urlopen error [Errno 11001] getaddrinfo failed>
[Canvas] pbs-pub-1f459b76-47e5-4c30-873a-f2ef3145e768$vid-9cdbf9f5-e635-4d0a-b630-253d64ab9b95: Downloading ISM manifest
WARNING: Failed to download ISM manifest: <urlopen error [Errno 11001] getaddrinfo failed>
[Canvas] pbs-pub-1f459b76-47e5-4c30-873a-f2ef3145e768$vid-9cdbf9f5-e635-4d0a-b630-253d64ab9b95: Downloading f4m manifest
WARNING: Unable to download f4m manifest: <urlopen error [Errno 11001] getaddrinfo failed>
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6bh3thhm\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6bh3thhm\build\youtube_dl\extractor\common.py", line 508, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6bh3thhm\build\youtube_dl\extractor\canvas.py", line 73, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6bh3thhm\build\youtube_dl\extractor\common.py", line 1292, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.


Most URLs on VrtNU work.
Both those two do not work, with the exact same json warning:

https://www.vrt.be/vrtnu/a-z/van-gils-gasten/2018/van-gils---gasten-d20181128/
https://www.vrt.be/vrtnu/a-z/van-gils-gasten/2018/van-gils---gasten-d20181129/

Perhaps the error is on this part of the webpage:

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@id": "587301499527",
  "@type": "TVEpisode",
  "name": "Van Gils \x26 gasten 20181128",
  "episodeNumber": 0,
  "timeRequired": "PT48M",
  "description": "Michael Flatley is terug met \x27Lord of the Dance\x27\n",
  "publication": [
    {
      "@type": "BroadcastEvent",
      "publishedOn": {
        "@type": "BroadcastService",
        "brand": "een"
      },
      "startDate": "2018-11-28T22:05:00.000+01:00"
    },
    {
      "@type": "OnDemandEvent",
      "startDate": "1543439100",
      "endDate": "1546037700"
    }
  ],
  "partOfSeason": {
    "@type": "TVSeason",
    "seasonNumber": "2018"
  },
  "partOfSeries": {
    "@type": "TVSeries",
    "name": "Van Gils \x26 gasten"
  }
}
</script>
@dstftw dstftw closed this Dec 1, 2018
@dstftw dstftw added the duplicate label Dec 1, 2018
@vanhecke vanhecke mentioned this issue Dec 1, 2018
5 of 9 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.