youtube-dlc icon indicating copy to clipboard operation
youtube-dlc copied to clipboard

[Broken] Sonyliv.com is broken

Open Ashish0804 opened this issue 4 years ago • 8 comments

Checklist

  • [x] I'm reporting a broken site support
  • [x] I've verified that I'm running youtube-dlc version 2020.09.16
  • [x] I've checked that all provided URLs are alive and playable in a browser
  • [x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • [x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.sonyliv.com/shows/sankatmochan-mahabali-hanuman-1700000109/luv-kush-find-ashwamedha-1000022211']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.09.06
[debug] Python version 3.7.7 (CPython) - Linux-5.4.0-7642-generic-x86_64-with-debian-bullseye-sid
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4, rtmpdump 2.4
[debug] Proxy map: {}
[generic] luv-kush-find-ashwamedha-1000022211: Requesting header
WARNING: Falling back on generic information extractor.
[generic] luv-kush-find-ashwamedha-1000022211: Downloading webpage
[generic] luv-kush-find-ashwamedha-1000022211: Extracting information
WARNING: [generic] luv-kush-find-ashwamedha-1000022211: Failed to parse JSON Extra data: line 15 column 19 (char 691)
ERROR: Unsupported URL: https://www.sonyliv.com/shows/sankatmochan-mahabali-hanuman-1700000109/luv-kush-find-ashwamedha-1000022211
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3382, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.sonyliv.com/shows/sankatmochan-mahabali-hanuman-1700000109/luv-kush-find-ashwamedha-1000022211


Description

@blackjack4494 this seems to be a regex error too, can u please take a look at it. Thanks

P.S.: use a vpn

Ashish0804 avatar Sep 21 '20 10:09 Ashish0804

You might be right. What country is needed to visit this site?
I will see if my internet is fixed again later or whether I still have issues.

blackjack4494 avatar Sep 21 '20 13:09 blackjack4494

You might be right. What country is needed to visit this site? I will see if my internet is fixed again later or whether I still have issues.

This works in INDIA.

Ashish0804 avatar Sep 21 '20 13:09 Ashish0804

You were right. It's a regex error. They changed the url pattern.
However I do not know yet what id they expect or need.
I believe it's just the really last part with digits. But I guess my VPN is having issues right now.

blackjack4494 avatar Sep 23 '20 03:09 blackjack4494

You were right. It's a regex error. They changed the url pattern. However I do not know yet what id they expect or need. I believe it's just the really last part with digits. But I guess my VPN is having issues right now.

Yes i guess u are right about the id

https://www.sonyliv.com/shows/sankatmochan-mahabali-hanuman-1700000109/luv-kush-find-ashwamedha-1000022211

this link needs to match

1000022211

If you are not able to login to the vpn, then let me know, i can provide a new one.

Thanks

Ashish0804 avatar Sep 23 '20 04:09 Ashish0804

@blackjack4494 m8 while is the vpn is still working, can u pls take a look at this too?

Thanks a lot :)

Ashish0804 avatar Sep 30 '20 10:09 Ashish0804

@Ashish0804

They are using different url structure for different stuff. For shows and sports: sonyliv.com/shows/showname-10x/episodename-10x sonyliv.com/sports/showname-10x/episodename-10x

But for movies: sonyliv.com/movies/moviename-10x

where 10x => 10 digit number of the video id

Hotstar has an easier implementation, where hotstar.com/videoid will redirect to the appropriate video, irrespective of the content category. I am not good with regex in particular, so hopefully @blackjack4494 can use this info and try an appropriate regex. I will try myself in the meantime.

theincognito-inc avatar Oct 05 '20 14:10 theincognito-inc

i think sonyliv and zee5 almost all videos are drm protected now

ghost avatar Oct 07 '20 17:10 ghost

i think sonyliv and zee5 almost all videos are drm protected now

Yeah, they are using DRM even for free to play videos.

theincognito-inc avatar Oct 08 '20 04:10 theincognito-inc