VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker or buy a VSO converter software :)
+ Reply to Thread
Results 1 to 20 of 20
Thread
  1. Hello,
    I was wondering if anyone could advise me on how to download this video in 1080p quality.
    http://www.le.com/ptv/vplay/28834428.html

    I used this URL to get the following data.

    Code:
    code    1
    msgs    
    playurl    
    videoType    
    180001    "正片"
    cid    "2"
    pid    10014722
    vid    28834428
    mid    ",64185672,"
    title    "白鹿原01"
    picAll    
    640*320    "http://i3.letvimg.com/lc07_isvrs/201704/15/17/01/0c0389bb-f9ee-462e-a5f0-04a644825096.jpg"
    400*300    "http://i3.letvimg.com/lc07_isvrs/201704/15/17/01/5e25a275-6a6f-49eb-bbf7-93d072eb71cd.jpg"
    300*400    "http://i2.letvimg.com/lc09_yunzhuanma/201705/10/12/24/f68752d1db9e982b70c5931ed4dc22d3_v2_MTI4MzcyMzQ0/thumb/2_300_400.jpg"
    400*225    "http://i0.letvimg.com/lc06_isvrs/201704/15/17/01/e84f0af9-4839-48bf-9922-01d60a330be5.jpg"
    400*250    "http://i2.letvimg.com/lc06_isvrs/201704/15/17/01/aa0e35a3-07b0-4ecb-bede-f91689386aaf.jpg"
    pic    "http://i3.letvimg.com/lc05_isvrs/201704/15/17/01/843c8aed-0c69-4878-96c9-a368701c7245.jpg"
    filter    1
    total    77
    nextvid    29393681
    subtitle    ""
    domain    
    0    "http://play.g3proxy.lecloud.com"
    1    "http://bplay.g3proxy.lecloud.com"
    2    "http://115.182.92.127"
    dispatch    
    350    
    0    "/vod/v2/MjU4LzM3Lzg4L2xldHYtdXRzLzE0L3Zlcl8wMF8yMi0xMTAwMzk4ODY1LWF2Yy0xOTkwOTEtYWFjLTQ4MDAwLTI3NDAzMjAtODg4Mjk1NzEtMTBjYTliMmY2NDNmZWUyMjYxZDc5NGEzMDFmOWQ1OGUtMTQ5NDM5MDI2MDUyNC5tcDQ=?b=259&mmsid=64185672&tm=1498953381&key=5ab7f3a3f1bffe4cbb1c8092f86e9a99&platid=1&splatid=101&playid=0&tss=0&vtype=21&cvid=849943492836&payff=0&pip=b8a26634a868e49f22296dbada4c8208"
    1    "258/37/88/letv-uts/14/ver_00_22-1100398865-avc-199091-aac-48000-2740320-88829571-10ca9b2f643fee2261d794a301f9d58e-1494390260524.mp4"
    1000    
    0    "/vod/v2/MjY1LzQwLzcyL2xldHYtdXRzLzE0L3Zlcl8wMF8yMi0xMTAwMzk4ODcxLWF2Yy00MTkyOTgtYWFjLTQ4MDAwLTI3NDAzMjAtMTY0MjYyMjkwLTc0MGUyODgwNzkzNzFjZjNjOWY0N2E3NmI0YmExYTkyLTE0OTQzOTEwNjkzMzQubXA0?b=479&mmsid=64185672&tm=1498953381&key=cedd5e50825869aa367698d7a36e6686&platid=1&splatid=101&playid=0&tss=0&vtype=13&cvid=849943492836&payff=0&pip=b8a26634a868e49f22296dbada4c8208"
    1    "265/40/72/letv-uts/14/ver_00_22-1100398871-avc-419298-aac-48000-2740320-164262290-740e288079371cf3c9f47a76b4ba1a92-1494391069334.mp4"
    1300    
    0    "/vod/v2/MjY1LzQwLzcyL2xldHYtdXRzLzE0L3Zlcl8wMF8yMi0xMTAwMzk4ODcxLWF2Yy00MTkyOTgtYWFjLTQ4MDAwLTI3NDAzMjAtMTY0MjYyMjkwLTc0MGUyODgwNzkzNzFjZjNjOWY0N2E3NmI0YmExYTkyLTE0OTQzOTEwNjkzMzQubXA0?b=479&mmsid=64185672&tm=1498953381&key=cedd5e50825869aa367698d7a36e6686&platid=1&splatid=101&playid=0&tss=0&vtype=13&cvid=849943492836&payff=0&pip=b8a26634a868e49f22296dbada4c8208"
    1    "265/40/72/letv-uts/14/ver_00_22-1100398871-avc-419298-aac-48000-2740320-164262290-740e288079371cf3c9f47a76b4ba1a92-1494391069334.mp4"
    720p    
    0    "/vod/v2/MjY1LzQwLzcyL2xldHYtdXRzLzE0L3Zlcl8wMF8yMi0xMTAwMzk4ODcxLWF2Yy00MTkyOTgtYWFjLTQ4MDAwLTI3NDAzMjAtMTY0MjYyMjkwLTc0MGUyODgwNzkzNzFjZjNjOWY0N2E3NmI0YmExYTkyLTE0OTQzOTEwNjkzMzQubXA0?b=479&mmsid=64185672&tm=1498953381&key=cedd5e50825869aa367698d7a36e6686&platid=1&splatid=101&playid=0&tss=0&vtype=13&cvid=849943492836&payff=0&pip=b8a26634a868e49f22296dbada4c8208"
    1    "265/40/72/letv-uts/14/ver_00_22-1100398871-avc-419298-aac-48000-2740320-164262290-740e288079371cf3c9f47a76b4ba1a92-1494391069334.mp4"
    1080p    
    0    "/vod/v2/MjY1LzQwLzcyL2xl…868e49f22296dbada4c8208"
    1    "265/40/72/letv-uts/14/ve…a1a92-1494391069334.mp4"
    duration    2740
    drmFlag    false
    point    
    hot    
    skip    
    0    139
    1    2521
    paylist    
    0    "1080p"
    firstlook    "0"
    playstatus    
    status    "1"
    isTryLook    "0"
    danmu    1
    trylook    "0"
    trylookTime    0
    watermark    
    imgs    
    0    
    position    "2"
    url100    "http://i1.letvimg.com/lc04_iscms/201601/12/15/22/47615b27e213449da27bfd356df13f38.png"
    lasttime    "1800"
    link    ""
    1    
    position    "1"
    url100    "http://i0.letvimg.com/lc04_iscms/201601/12/15/22/afd7ca79d3564037acd9606ce04069c2.png"
    lasttime    "1800"
    link    ""
    offset    "3"
    statuscode    1001
    vtypeFlag    false
    curVType    "1000"
    URL:
    Code:
    http://player-pc.le.com/mms/out/video/playJson?id=28834428&platid=1&splatid=101&format=1&tkey=-1403118801&domain=www.le.com&dvtype=1000&devid=2397D3AB4C88008820769B73DE493C9793A5C425&region=cn&source=1000&accessyx=1


    After that, I combined the domain and the quality I wished to download (1080p) to get the link below.

    Code:
    http://play.g3proxy.lecloud.com/vod/v2/MjY1LzQwLzcyL2xldHYtdXRzLzE0L3Zlcl8wMF8yMi0xMTAwMzk4ODcxLWF2Yy00MTkyOTgtYWFjLTQ4MDAwLTI3NDAzMjAtMTY0MjYyMjkwLTc0MGUyODgwNzkzNzFjZjNjOWY0N2E3NmI0YmExYTkyLTE0OTQzOTEwNjkzMzQubXA0?b=479&mmsid=64185672&tm=1498953381&key=cedd5e50825869aa367698d7a36e6686&platid=1&splatid=101&playid=0&tss=0&vtype=13&cvid=849943492836&payff=0&pip=b8a26634a868e49f22296dbada4c8208
    Someone suggested that I should add this to the link to get the JS.
    Code:
    &p2=04&p1=0&uuid=&vid=28834428&format=1&hwtype=un&termid=2&expect=3


    I did get the JS, and the video location looked like this.

    Code:
    http://1.193.216.35/265/40/72/letv-uts/14/ver_00_22-1100398871-avc-419298-aac-48000-2740320-164262290-740e288079371cf3c9f47a76b4ba1a92-1494391069334.mp4?crypt=3aa7f2e538&b=479&nlh=4096&nlt=60&bf=90&p2p=1&video_type=mp4&termid=2&tss=0&platid=1&splatid=101&its=0&qos=3&fcheck=0&amltag=100&mltag=100&proxy=29481002,2074140069,611230096&uid=1914918504.rp&keyitem=GOw_33YJAAbXYE-cnQwpfLlv_b2zAkYctFVqe5bsXQpaGNn3T1-vhw..&ntm=1498972200&nkey=2f4f09e690a4ddc84d213e64a4d39c8e&nkey2=e337d33faa1781c182b96bf1aec9c888&geo=**-0-0-127&mmsid=64185672&tm=1498953381&key=cedd5e50825869aa367698d7a36e6686&playid=0&vtype=13&cvid=849943492836&payff=0&p2=04&p1=0&uuid=&vid=28834428&hwtype=un&uidx=2&errc=0&gn=1240&ndtype=0&vrtmcd=201&buss=100&cips=***.**.**.***


    Nevertheless, I couldn't download the video with the URL above. It was 403 forbidden.

    Can anyone please tell me where I went wrong, or if there is any other way to download this video?

    The MediaInfo of this video should look something like this:
    Code:
    Format                         : MPEG-4
    Format profile                 : Base Media
    Codec ID                       : isom (isom)
    File size                      : 1.63 GiB
    Duration                       : 45 min 40 s
    Overall bit rate mode          : Variable
    Overall bit rate               : 5 112 kb/s
    Encoded date                   : UTC 2017-06-09 18:33:50
    
    Video
    ID                             : 1
    Format                         : AVC
    Format/Info                    : Advanced Video Codec
    Format profile                 : High@L4
    Format settings, CABAC         : Yes
    Format settings, ReFrames      : 4 frames
    Codec ID                       : avc1
    Codec ID/Info                  : Advanced Video Coding
    Duration                       : 45 min 40 s
    Bit rate                       : 4 980 kb/s
    Maximum bit rate               : 18.6 Mb/s
    Width                          : 1 920 pixels
    Height                         : 1 072 pixels
    Display aspect ratio           : 16:9
    Original display aspect ratio  : 16:9
    Frame rate mode                : Constant
    Frame rate                     : 25.000 FPS
    Color space                    : YUV
    Chroma subsampling             : 4:2:0
    Bit depth                      : 8 bits
    Scan type                      : Progressive
    Bits/(Pixel*Frame)             : 0.097
    Stream size                    : 1.59 GiB (97%)
    Writing library                : Provided by www.letv.com  :: H.264/MPEG-4 AVC codec -V 1.6.09-20151125
    Tagged date                    : UTC 2017-06-09 18:34:03
    
    Audio
    ID                             : 2
    Format                         : AAC
    Format/Info                    : Advanced Audio Codec
    Format profile                 : LC
    Codec ID                       : 40
    Duration                       : 45 min 40 s
    Source duration                : 45 min 40 s
    Source_Duration_LastFrame      : -22 ms
    Bit rate mode                  : Variable
    Bit rate                       : 128 kb/s
    Maximum bit rate               : 137 kb/s
    Channel(s)                     : 2 channels
    Channel positions              : Front: L R
    Sampling rate                  : 44.1 kHz
    Frame rate                     : 43.066 FPS (1024 spf)
    Compression mode               : Lossy
    Stream size                    : 41.8 MiB (3%)
    Source stream size             : 41.8 MiB (3%)
    Default                        : Yes
    Alternate group                : 1
    Tagged date                    : UTC 2017-06-09 18:34:03
    Any help would be greatly appreciated.
    Last edited by aveceux; 1st Jul 2017 at 20:46.
    Quote Quote  
  2. Former Member
    Join Date
    May 2014
    Search PM
    The steps that you describe do work to download the video. However, I see deferences in the json data, filenames, and video properties compared to what you have listed.

    The playJson data that you have listed shows the same filename (ending with "1494391069334.mp4") for each of the 1000, 1300, 720p, and 1080p qualities. For the video I played, the playJson data has a different filename for each quality.

    Next, the 1080p file I downloaded is not 1.63 GiB and 4980 kb/s. It is 1.00 GiB and 2996 kb/s;

    Code:
    Complete name                            : ver_00_22-1100398867-avc-2996129-aac-128001-2740320-1074373569-8c4492e73685d5eece8790cad667b8b2-1494399608188.mp4
    Format                                   : MPEG-4
    Format profile                           : Base Media
    Codec ID                                 : isom (isom/iso2/avc1/mp41/letv)
    File size                                : 1.00 GiB
    Duration                                 : 45mn 40s
    Overall bit rate                         : 3 136 Kbps
    Writing application                      : Lavf56.15.102
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 4 frames
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 45mn 40s
    Bit rate                                 : 2 996 Kbps
    Width                                    : 1 920 pixels
    Height                                   : 1 072 pixels
    Display aspect ratio                     : 16:9
    Original display aspect ratio            : 16:9
    Frame rate mode                          : Constant
    Frame rate                               : 25.000 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.058
    Stream size                              : 979 MiB (96%)
    Writing library                          : Provided by www.letv.com  :: H.264/MPEG-4 AVC codec -V 1.6.09-20151125
    
    Audio
    ID                                       : 2
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format profile                           : LC
    Codec ID                                 : 40
    Duration                                 : 45mn 40s
    Duration_LastFrame                       : -22ms
    Bit rate mode                            : Constant
    Bit rate                                 : 128 Kbps
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 44.1 KHz
    Frame rate                               : 43.066 fps (1024 spf)
    Compression mode                         : Lossy
    Stream size                              : 41.8 MiB (4%)
    Default                                  : Yes
    Alternate group                          : 1
    If there is a better quality, it isn't shown in the playJson data I'm seeing.

    youtube-dl shows the same results in the playJson data, although it only seems to download via hls.
    Last edited by ponens; 2nd Jul 2017 at 08:23.
    Quote Quote  
  3. Originally Posted by ponens View Post
    The steps that you describe do work to download the video. However, I see deferences in the json data, filenames, and video properties compared to what you have listed.

    The playJson data that you have listed shows the same filename (ending with "1494391069334.mp4") for each of the 1000, 1300, 720p, and 1080p qualities. For the video I played, the playJson data has a different filename for each quality.
    Hi ponens,
    Thank you so much. I truly appreciate your help.
    With regard to the differences in the json data, would you mind telling me how you got your data?
    I asked a couple of friends of mine, and just like me, they also got the same file name for the 1000p, 1300p, 720p, and 1080p qualities.
    I really don't know what went wrong...
    I would be very grateful if you could help me out on this.
    Quote Quote  
  4. Former Member
    Join Date
    May 2014
    Search PM
    I used the playJson, similar as shown in your post (only the session values are different).

    An easier way to download the playJson is to use youtube-dl.
    Quote Quote  
  5. Originally Posted by ponens View Post
    I used the playJson, similar as shown in your post (only the session values are different).

    An easier way to download the playJson is to use youtube-dl.
    Thanks again for your kind help, ponens.
    As I am completely new to playjson and youtube-dl, would you mind if I asked what command I should use to get the json data?
    I'm really sorry about this stupid question.
    Last edited by aveceux; 3rd Jul 2017 at 08:00.
    Quote Quote  
  6. aveceux
    I'm really sorry about this stupid question.
    NOT A STUPID QUESTION. If you look at the hundreds of answers that Ponens has given, the near 100% response is,
    Ponens, can you tell me how you got this... Ponens, I'm a real newby.. can you explain step by step...... etc."
    Bottom line: a person with an IQ of 165 cannot explain to the average person in a clear way how to do something.
    Now, let me tell you what I did. But first, can you tell me clearly how you got the playjson data? What is playjson and how is it used to download the video?
    I got the video ( 45 minute 40 second) very easy with youtube-dl, BUT YOU MUST USE THE LATEST VERSION, which is July 2, 2017 (available from video downloads page on this website).
    So I used this command to get available resolutions:
    Code:
    youtube-dl -F http://www.le.com/ptv/vplay/28834428.html
    Different resolutions were given. Firstly, for speed, I downloaded a lower resolution (640x352, 83mb)
    Next, I tried to download the highest resolution. I used this command:
    Code:
    youtube-dl -f hls-1080p http://www.le.com/ptv/vplay/28834428.html
    I'm downloading now, but it downloads at 50kb/s, so it will take many hours to download. The total file size is about 1GB.
    One interesting thing (different than other downloads), is the total file size that is shown in the command line output starts out very low (around 80mb) and then bit by bit (maybe after 15 minutes or so) the total file size increases until it is showing about 1GB. I've never seen this phenomenon before.
    EDIT: about 3/4 through downloading the highest resolution, the download stopped and failed to be able to restart.
    Perhaps Ponens can help you because I think he is using a different method (playjson?)to download.

    Command line output (note: what I typed or pasted is in blue):
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\default>cd..

    C:\Documents and Settings>cd..

    C:\>cd youtube-dl

    C:\youtube-dl>youtube-dl -F http://www.le.com/ptv/vplay/28834428.html
    [Le] 28834428: Downloading webpage
    [Le] 28834428: Downloading flash playJson data
    [Le] 28834428: Download JSON metadata for format 1300
    [Le] 28834428: Downloading m3u8 information for format 1300
    [Le] 28834428: Download JSON metadata for format 350
    [Le] 28834428: Downloading m3u8 information for format 350
    [Le] 28834428: Download JSON metadata for format 1080p
    [Le] 28834428: Downloading m3u8 information for format 1080p
    [Le] 28834428: Download JSON metadata for format 720p
    [Le] 28834428: Downloading m3u8 information for format 720p
    [Le] 28834428: Download JSON metadata for format 1000
    [Le] 28834428: Downloading m3u8 information for format 1000
    [info] Available formats for 28834428:
    format code extension resolution note
    hls-350 mp4 unknown
    hls-1000 mp4 unknown
    hls-1300 mp4 unknown
    hls-720p mp4 720p
    hls-1080p mp4 1080p (best)
    Last edited by jimdagys; 4th Jul 2017 at 05:43.
    Quote Quote  
  7. Originally Posted by jimdagys View Post
    aveceux
    I'm really sorry about this stupid question.
    NOT A STUPID QUESTION. If you look at the hundreds of answers that Ponens has given, the near 100% response is,
    Ponens, can you tell me how you got this... Ponens, I'm a real newby.. can you explain step by step...... etc."
    Bottom line: a person with an IQ of 165 cannot explain to the average person in a clear way how to do something.
    Now, let me tell you what I did. But first, can you tell me clearly how you got the playjson data? What is playjson and how is it used to download the video?
    I got the video ( 45 minute 40 second) very easy with youtube-dl, BUT YOU MUST USE THE LATEST VERSION, which is July 2, 2017 (available from video downloads page on this website).
    Hi jimdagys,
    Thank you so much for your help. I really appreciate your kindness. (I do feel less stupid now. )
    Sure. I got the json data by the inspect element tool in my browser.

    The URL that can be used to fetch the json data looks like this.
    Code:
    http://player-pc.le.com/mms/out/video/playJson?id=28834428&platid=1&splatid=101&format=1&tkey=1600002474&domain=www.le.com&dvtype=1000&devid=4BD0DDD4EEAF2889C9F43BD8E2215700733862C6&region=cn&source=1000&accessyx=1
    The tkey changes all the time.
    From what I read in a you-get discussion thread, it seems that if we wish to find the right json data, i.e. different file names for different qualities, we have to compute the tkey by python.
    https://github.com/soimort/you-get/issues/606
    I've got no knowledge in python at all, so this really is too complicated for me.

    As for playjson, although I do use web pages' json data from time to time, I'd never heard of playjson (play framework) until ponens told me. Therefore, I am afraid I can't explain how playjson works.
    I can explain to you, though, how I use the json data to download the video.
    I combine domain, dispatch (video quality) and the following line to form a URL.
    Code:
    &p2=04&p1=0&uuid=&vid=28834428&format=1&hwtype=un&termid=2&expect=3

    With this URL, I can find another set of json data which contains the real location of the video.

    Lastly, I just have to thank you again for teaching me how to download the video with youtube-dl.
    I did some research and gave youtube-dl a try earlier today, but I couldn't finish downloading the video. The process always stopped between 20% and 40%.
    After reading your post, I gave it another try, but it still stopped at 40%.

    Code:
    C:\Users\youtube-dl -f hls-1080p http://www.le.com/ptv/vplay/28834428.html
    [Le] 28834428: Downloading webpage
    [Le] 28834428: Downloading flash playJson data
    [Le] 28834428: Download JSON metadata for format 350
    [Le] 28834428: Downloading m3u8 information for format 350
    [Le] 28834428: Download JSON metadata for format 1300
    [Le] 28834428: Downloading m3u8 information for format 1300
    [Le] 28834428: Download JSON metadata for format 1000
    [Le] 28834428: Downloading m3u8 information for format 1000
    [Le] 28834428: Download JSON metadata for format 720p
    [Le] 28834428: Downloading m3u8 information for format 720p
    [Le] 28834428: Download JSON metadata for format 1080p
    [Le] 28834428: Downloading m3u8 information for format 1080p
    [hlsnative] Downloading m3u8 manifest
    [hlsnative] Total fragments: 153
    [download] Destination: 白鹿原01-28834428.mp4
    [download]  40.1% of ~170.57MiB at 262.53KiB/s ETA 08:14 ERROR: unable to download video data: timed out
    Jimdagys, did you finish downloading the 1080p video?
    Before coming back here for help, I thought I must have got the command wrong. But now, seeing that the command I used was right, I really don't know what the problem is...
    Last edited by aveceux; 4th Jul 2017 at 23:21.
    Quote Quote  
  8. Double posting. Deleted.
    Last edited by aveceux; 3rd Jul 2017 at 18:49.
    Quote Quote  
  9. aveceux,
    1) Thank you for posting the screenshot showing playjson
    2)
    I can explain to you, though, how I use the json data to download the video.
    I combine domain, dispatch (video quality) and the following line to form a URL.
    Can you show exactly (every step included with no missing steps and with screenshots if necessary) how you downloaded the video with json data? I can't follow the brief explanation that you gave in above post. (Don't worry that some keys may have expired. If I see the step by step method, I can do it myself.)
    3) I'm trying to download again the high resolution using youtube-dl. If I am successful, I will upload the 1GB video so you can download it easily.
    4) Were you able to download the 83mb video that I posted above (post #6)?
    Last edited by jimdagys; 3rd Jul 2017 at 20:32.
    Quote Quote  
  10. I was able to download the entire 1080p version in an hour or two with youtube-dl. So it's all there.
    Quote Quote  
  11. Former Member
    Join Date
    May 2014
    Search PM
    Double posting. Deleted.
    Last edited by ponens; 10th Jul 2017 at 01:50.
    Quote Quote  
  12. Hi jimdagys,
    Actually, I couldn't download the video with the location I found in the json data. The location URL was 403 forbidden. This is why I came here for help in the first place.
    I think the reason I can't download the video is that I don't know how to get the right tkey. If I got the right tkey, there should be different file names for different qualities in the json data. The file names I got, however, were all the same for most of the qualities.

    As shown in my first post #1, there are "domain" and "dispatch" in the json data.

    Code:
    code    1
    msgs    
    playurl    
    videoType    
    180001    "正片"
    cid    "2"
    pid    10014722
    vid    28834428
    mid    ",64185672,"
    title    "白鹿原01"
    picAll    
    640*320    "http://i3.letvimg.com/lc07_isvrs/201704/15/17/01/0c0389bb-f9ee-462e-a5f0-04a644825096.jpg"
    400*300    "http://i3.letvimg.com/lc07_isvrs/201704/15/17/01/5e25a275-6a6f-49eb-bbf7-93d072eb71cd.jpg"
    300*400    "http://i2.letvimg.com/lc09_yunzhuanma/201705/10/12/24/f68752d1db9e982b70c5931ed4dc22d3_v2_MTI4MzcyMzQ0/thumb/2_300_400.jpg"
    400*225    "http://i0.letvimg.com/lc06_isvrs/201704/15/17/01/e84f0af9-4839-48bf-9922-01d60a330be5.jpg"
    400*250    "http://i2.letvimg.com/lc06_isvrs/201704/15/17/01/aa0e35a3-07b0-4ecb-bede-f91689386aaf.jpg"
    pic    "http://i3.letvimg.com/lc05_isvrs/201704/15/17/01/843c8aed-0c69-4878-96c9-a368701c7245.jpg"
    filter    1
    total    77
    nextvid    29393681
    subtitle    ""
    domain    
    0    "http://play.g3proxy.lecloud.com"
    1    "http://bplay.g3proxy.lecloud.com"
    2    "http://115.182.92.127"
    dispatch    
    350    
    0    "/vod/v2/MjU4LzM3Lzg4L2xldHYtdXRzLzE0L3Zlcl8wMF8yMi0xMTAwMzk4ODY1LWF2Yy0xOTkwOTEtYWFjLTQ4MDAwLTI3NDAzMjAtODg4Mjk1NzEtMTBjYTliMmY2NDNmZWUyMjYxZDc5NGEzMDFmOWQ1OGUtMTQ5NDM5MDI2MDUyNC5tcDQ=?b=259&mmsid=64185672&tm=1498953381&key=5ab7f3a3f1bffe4cbb1c8092f86e9a99&platid=1&splatid=101&playid=0&tss=0&vtype=21&cvid=849943492836&payff=0&pip=b8a26634a868e49f22296dbada4c8208"
    1    "258/37/88/letv-uts/14/ver_00_22-1100398865-avc-199091-aac-48000-2740320-88829571-10ca9b2f643fee2261d794a301f9d58e-1494390260524.mp4"
    1000    
    0    "/vod/v2/MjY1LzQwLzcyL2xldHYtdXRzLzE0L3Zlcl8wMF8yMi0xMTAwMzk4ODcxLWF2Yy00MTkyOTgtYWFjLTQ4MDAwLTI3NDAzMjAtMTY0MjYyMjkwLTc0MGUyODgwNzkzNzFjZjNjOWY0N2E3NmI0YmExYTkyLTE0OTQzOTEwNjkzMzQubXA0?b=479&mmsid=64185672&tm=1498953381&key=cedd5e50825869aa367698d7a36e6686&platid=1&splatid=101&playid=0&tss=0&vtype=13&cvid=849943492836&payff=0&pip=b8a26634a868e49f22296dbada4c8208"
    1    "265/40/72/letv-uts/14/ver_00_22-1100398871-avc-419298-aac-48000-2740320-164262290-740e288079371cf3c9f47a76b4ba1a92-1494391069334.mp4"
    1300    
    0    "/vod/v2/MjY1LzQwLzcyL2xldHYtdXRzLzE0L3Zlcl8wMF8yMi0xMTAwMzk4ODcxLWF2Yy00MTkyOTgtYWFjLTQ4MDAwLTI3NDAzMjAtMTY0MjYyMjkwLTc0MGUyODgwNzkzNzFjZjNjOWY0N2E3NmI0YmExYTkyLTE0OTQzOTEwNjkzMzQubXA0?b=479&mmsid=64185672&tm=1498953381&key=cedd5e50825869aa367698d7a36e6686&platid=1&splatid=101&playid=0&tss=0&vtype=13&cvid=849943492836&payff=0&pip=b8a26634a868e49f22296dbada4c8208"
    1    "265/40/72/letv-uts/14/ver_00_22-1100398871-avc-419298-aac-48000-2740320-164262290-740e288079371cf3c9f47a76b4ba1a92-1494391069334.mp4"
    720p    
    0    "/vod/v2/MjY1LzQwLzcyL2xldHYtdXRzLzE0L3Zlcl8wMF8yMi0xMTAwMzk4ODcxLWF2Yy00MTkyOTgtYWFjLTQ4MDAwLTI3NDAzMjAtMTY0MjYyMjkwLTc0MGUyODgwNzkzNzFjZjNjOWY0N2E3NmI0YmExYTkyLTE0OTQzOTEwNjkzMzQubXA0?b=479&mmsid=64185672&tm=1498953381&key=cedd5e50825869aa367698d7a36e6686&platid=1&splatid=101&playid=0&tss=0&vtype=13&cvid=849943492836&payff=0&pip=b8a26634a868e49f22296dbada4c8208"
    1    "265/40/72/letv-uts/14/ver_00_22-1100398871-avc-419298-aac-48000-2740320-164262290-740e288079371cf3c9f47a76b4ba1a92-1494391069334.mp4"
    1080p    
    0    "/vod/v2/MjY1LzQwLzcyL2xl…868e49f22296dbada4c8208"
    1    "265/40/72/letv-uts/14/ve…a1a92-1494391069334.mp4"
    duration    2740
    drmFlag    false
    point    
    hot    
    skip    
    0    139
    1    2521
    paylist    
    0    "1080p"
    firstlook    "0"
    playstatus    
    status    "1"
    isTryLook    "0"
    danmu    1
    trylook    "0"
    trylookTime    0
    watermark    
    imgs    
    0    
    position    "2"
    url100    "http://i1.letvimg.com/lc04_iscms/201601/12/15/22/47615b27e213449da27bfd356df13f38.png"
    lasttime    "1800"
    link    ""
    1    
    position    "1"
    url100    "http://i0.letvimg.com/lc04_iscms/201601/12/15/22/afd7ca79d3564037acd9606ce04069c2.png"
    lasttime    "1800"
    link    ""
    offset    "3"
    statuscode    1001
    vtypeFlag    false
    curVType    "1000"
    Since it is the 1080p video I wish to download, I combined domain 0 and dispatch 1080p 0 together to form a URL.

    Code:
    http://play.g3proxy.lecloud.com/vod/v2/MjY1LzQwLzcyL2xldHYtdXRzLzE0L3Zlcl8wMF8yMi0xMTAwMzk4ODcxLWF2Yy00MTkyOTgtYWFjLTQ4MDAwLTI3NDAzMjAtMTY0MjYyMjkwLTc0MGUyODgwNzkzNzFjZjNjOWY0N2E3NmI0YmExYTkyLTE0OTQzOTEwNjkzMzQubXA0?b=479&mmsid=64185672&tm=1498953381&key=cedd5e50825869aa367698d7a36e6686&platid=1&splatid=101&playid=0&tss=0&vtype=13&cvid=849943492836&payff=0&pip=b8a26634a868e49f22296dbada4c8208
    After that, I added the following line to the above URL to get the final one.

    Code:
    &p2=04&p1=0&uuid=&vid=28834428&format=1&hwtype=un&termid=2&expect=3
    Final URL
    Code:
    http://play.g3proxy.lecloud.com/vod/v2/MjY1LzQwLzcyL2xldHYtdXRzLzE0L3Zlcl8wMF8yMi0xMTAwMzk4ODcxLWF2Yy00MTkyOTgtYWFjLTQ4MDAwLTI3NDAzMjAtMTY0MjYyMjkwLTc0MGUyODgwNzkzNzFjZjNjOWY0N2E3NmI0YmExYTkyLTE0OTQzOTEwNjkzMzQubXA0?b=479&mmsid=64185672&tm=1498953381&key=cedd5e50825869aa367698d7a36e6686&platid=1&splatid=101&playid=0&tss=0&vtype=13&cvid=849943492836&payff=0&pip=b8a26634a868e49f22296dbada4c8208&p2=04&p1=0&uuid=&vid=28834428&format=1&hwtype=un&termid=2&expect=3
    Pleae note that the vid value should be the same as the video ID.
    http://www.le.com/ptv/vplay/28834428.html


    Now I can use the final URL to get the json data (by pasting the URL in the browser address bar) which contains the video location.
    The location URL looks like this.

    Code:
    http://1.193.216.35/265/40/72/letv-uts/14/ver_00_22-1100398871-avc-419298-aac-48000-2740320-164262290-740e288079371cf3c9f47a76b4ba1a92-1494391069334.mp4?crypt=3aa7f2e538&b=479&nlh=4096&nlt=60&bf=90&p2p=1&video_type=mp4&termid=2&tss=0&platid=1&splatid=101&its=0&qos=3&fcheck=0&amltag=100&mltag=100&proxy=29481002,2074140069,611230096&uid=1914918504.rp&keyitem=GOw_33YJAAbXYE-cnQwpfLlv_b2zAkYctFVqe5bsXQpaGNn3T1-vhw..&ntm=1498972200&nkey=2f4f09e690a4ddc84d213e64a4d39c8e&nkey2=e337d33faa1781c182b96bf1aec9c888&geo=**-0-0-127&mmsid=64185672&tm=1498953381&key=cedd5e50825869aa367698d7a36e6686&playid=0&vtype=13&cvid=849943492836&payff=0&p2=04&p1=0&uuid=&vid=28834428&hwtype=un&uidx=2&errc=0&gn=1240&ndtype=0&vrtmcd=201&buss=100&cips=***.**.**.***
    Ponens said that these steps do work, but the json data he got was different from mine. I really hope ponens could tell us later how he got his data.
    If I could get the correct file name, I think I should be able to use IDM to download the 1080p video at much higher speed.


    EDIT:
    No, I couldn't even finish downloading the 350 quality one. It stopped at 25%.
    Is there any other program I should install so that my youtube-dl can work more properly?
    My system is Win10 64bit.
    Last edited by aveceux; 3rd Jul 2017 at 23:08.
    Quote Quote  
  13. Hi ponens,
    Thank you so much for the tutorial.
    I followed the steps you described, and I was able to download the video via http successfully. However, the resolution of the video is only 960x544.
    Here is the MediaInfo.

    General
    Complete name : C:\Users\Downloads\ver_00_22-1100398871-avc-419298-aac-48000-2740320-164262290-740e288079371cf3c9f47a76b4ba1a92-1494391069334.mp4
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom (isom/iso2/avc1/mp41/letv)
    File size : 157 MiB
    Duration : 45 min 40 s
    Overall bit rate : 480 kb/s
    Writing application : Lavf56.15.102

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L3.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 4 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 45 min 40 s
    Bit rate : 419 kb/s
    Width : 960 pixels
    Height : 544 pixels
    Display aspect ratio : 16:9
    Original display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 25.000 FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.032
    Stream size : 137 MiB (87%)
    Writing library : Provided by www.letv.com :: H.264/MPEG-4 AVC codec -V 1.6.09-20151125

    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 45 min 40 s
    Duration_LastFrame : -22 ms
    Bit rate mode : Constant
    Bit rate : 48.0 kb/s
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 44.1 kHz
    Frame rate : 43.066 FPS (1024 spf)
    Compression mode : Lossy
    Stream size : 15.7 MiB (10%)
    Default : Yes
    Alternate group : 1

    I noticed that the file names for 1000, 1300, 720p, and 1080p qualities in the json data were still the same.

    Click image for larger version

Name:	0.PNG
Views:	16
Size:	153.3 KB
ID:	42218

    Is this why I couldn't download the video in 1080p quality?
    Quote Quote  
  14. Former Member
    Join Date
    May 2014
    Search PM
    Originally Posted by aveceux View Post
    I noticed that the file names for 1000, 1300, 720p, and 1080p qualities in the json data were still the same.
    Is this why I couldn't download the video in 1080p quality?
    Yes, that is why. I can't reproduce the condition where the same filename is provided for all qualities in the json. I changed the values of "key" and "devid" and I still get different filenames for each quality. I even erased all relevant cookies, and still I get different filenames for each quality.

    I'll have to experiment more to try to reproduce the condition that you describe.

    What is the screen resolution setting for the device on which you're playing the video?
    Quote Quote  
  15. Originally Posted by ponens View Post
    Yes, that is why. I can't reproduce the condition where the same filename is provided for all qualities in the json. I changed the values of "key" and "devid" and I still get different filenames for each quality. I even erased all relevant cookies, and still I get different filenames for each quality.

    I'll have to experiment more to try to reproduce the condition that you describe.

    What is the screen resolution setting for the device on which you're playing the video?

    I'm sorry for the trouble I've caused you, ponens.

    It appears that quite a few other people have been experiencing the same problems as I have.
    1) The file names for 1000, 1300, 720p and 1080p are all the same.
    2) The highest quality we can download is only 960x544.

    https://github.com/soimort/you-get/issues/2116


    My screen resolution is 1366x768.


    EDIT:
    I think I've figured out why some of us always get the same file names.
    It's a geolocation problem.
    Once I changed the location of my IP to a US city, I got different file names for each of the qualities.
    I can finally download the 1080p video now.

    I am still wondering though, if there is any chance we can get the 1.63 GiB 5112 kb/s video.
    Someone has definitely found out the location of a higher bit rate video.

    Thank you so much for your help, ponens. I really appreciate it.


    Last edited by aveceux; 4th Jul 2017 at 04:43.
    Quote Quote  
  16. Former Member
    Join Date
    May 2014
    Search PM
    Originally Posted by aveceux View Post
    I think I've figured out why some of us always get the same file names.
    It's a geolocation problem.
    Once I changed the location of my IP to a US city, I got different file names for each of the qualities.
    I can finally download the 1080p video now.

    I am still wondering though, if there is any chance we can get the 1.63 GiB 5112 kb/s video.
    Someone has definitely found out the location of a higher bit rate video.
    The higher bitrate 1080p video may just be for those who register with the website and are signed in when the video is playing.
    Quote Quote  
  17. Deleted.
    Last edited by aveceux; 6th Jul 2017 at 12:08.
    Quote Quote  
  18. aveceux,
    Twice I tried to download (with youtube-dl) the high resolution and both times, a download error occurred when I got about 692MB of the file. (See screenshot that shows partial window of the error). The downloaded file plays fine, but due to the error, I only have 31minutes 30 second of the file.
    Question: Do you want me to upload the file (to a file storage) that I have so you can download it easily?
    One interesting thing is that the error message both times results in a "100%" download (according to command line words).
    You really picked a strange thing to try to download.
    Also, thanks for giving me the details about how you tried to download with json.
    Image Attached Thumbnails Click image for larger version

Name:	Clipboard01.jpg
Views:	10
Size:	107.0 KB
ID:	42224  

    Quote Quote  
  19. Originally Posted by jimdagys View Post
    aveceux,
    Twice I tried to download (with youtube-dl) the high resolution and both times, a download error occurred when I got about 692MB of the file. (See screenshot that shows partial window of the error). The downloaded file plays fine, but due to the error, I only have 31minutes 30 second of the file.
    Question: Do you want me to upload the file (to a file storage) that I have so you can download it easily?
    One interesting thing is that the error message both times results in a "100%" download (according to command line words).
    You really picked a strange thing to try to download.
    Also, thanks for giving me the details about how you tried to download with json.
    Hey jimdagys,
    I also encountered exactly the same error as you did. Worse yet, the video was only 540p, although I did key in "hls-1080p".
    Thank you so much for your kindness. No, it's fine. I've already downloaded the 1080p video using ponens' method.
    His method is simpler, and since it is via http, the download speed is much higher.
    Yeah, I wish I hadn't picked this tricky thing to download. LOL
    Thanks again for your help. You've been very kind.
    Last edited by aveceux; 4th Jul 2017 at 08:12.
    Quote Quote  
  20. Thank you Ponens,
    I carefully studied your above step by step instructions to download the video (above post #11). After making a few mistakes trying to get the details right, I was able to download the high resolution (1GB) video. Link to video:
    https://mega.nz/#!gHoWlDRT!BsrFaYc5Lh4i8a7s-jvPv8I8LPLPzq4Zb5YWj_wqfT8
    I have suggestion though. I think in your explanation, you should have included the exact code you obtained with each step. Even though the code expires after a while, there is an advantage to doing this.
    Example:
    In the last step of your explanation you said:
    (remove any "/" from url)
    Actually, I think you meant to say: (remove any "\" from url)
    If you had posted the final code (even though it expires) that you used to download the video, the pattern of the code would make it clear what is the correct format of the code.
    The code that I used (now expired) to download the video was this:
    Code:
    http://66.119.72.164/261/18/45/letv-uts/14/ver_00_22-1100398867-avc-2996129-aac-128001-2740320-1074373569-8c4492e73685d5eece8790cad667b8b2-1494399608188.mp4?crypt=39aa7f2e3528&b=3136&nlh=4096&nlt=60&bf=90&p2p=1&video_type=mp4&termid=1&tss=0&platid=3&splatid=304&its=0&qos=4&fcheck=0&amltag=4702&mltag=4702&path=23.248.189.150&proxy=402177308,402172883,467476919&uid=2909924314.rp&keyitem=GOw_33YJAAbXYE-cnQwpfLlv_b2zAkYctFVqe5bsXQpaGNn3T1-vhw..&ntm=1499274600&nkey=481dd782d73e392b6e684c5f1cc1554b&nkey2=bfc1bbf8561e0640bf5e5deaae9459d0&geo=US-70-0-100&mmsid=64185672&tm=1499256035&key=10cec8164e2bf723803a6589621d54ea&playid=0&vtype=52&cvid=1781834400007&payff=0&m3v=1&hwtype=un&ostype=WindowsXP&p1=1&p2=10&p3=-&tn=0.09322416735813022&vid=28834428&uuid=7503F50C3A588BAA8E3FFB0BC4FFA929A02002D3_0&sign=letv&uidx=0&errc=0&gn=962&ndtype=0&vrtmcd=102&buss=4702&cips=173.113.235.218
    Question: I was also able to download by using just a small part of that code, which was:
    Code:
    http://66.119.72.164/261/18/45/letv-uts/14/ver_00_22-1100398867-avc-2996129-aac-128001-2740320-1074373569-8c4492e73685d5eece8790cad667b8b2-1494399608188.mp4?
    Why was I able to download with just using a part of the code?
    Last edited by jimdagys; 7th Jul 2017 at 09:49.
    Quote Quote  



Similar Threads