VideoHelp Forum




+ Reply to Thread
Results 1 to 13 of 13
  1. Member
    Join Date
    Feb 2024
    Location
    Spain
    Search Comp PM
    https://www.iq.com/play/my-special-girl-episode-1-1hd4op6x2co?lang=en_us

    I have been trying to download this, but nothing is showing when I try to find the m3u link in the network tab. I refresh the page too. Then I did some research and checked the source page and searched for the m3u link and found it, but it's huge in size, almost 5KB. Is it the right m3u link if not how can I find it plz help.

    Quote Quote  
  2. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    That's the good m3u8. You did good. Doesn't matter how big it is. Export it. Replace \n with proper newline using sed. Replace \u0026 with & and you have a valid m3u8 file. You can get max 720p using that m3u8. I dunno if the 1080p is hidden but you need to pay for that according to them.

    Edit: Here's the video with all 11 subtitles if you want to download https://www.transfernow.net/dl/20240208NmkCdZsJ
    Last edited by 2nHxWW6GkN1l916N3ayz8HQoi; 8th Feb 2024 at 09:47.
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  3. Member
    Join Date
    Feb 2024
    Location
    Spain
    Search Comp PM
    Originally Posted by Ivan View Post
    https://www.iq.com/play/my-special-girl-episode-1-1hd4op6x2co?lang=en_us

    I have been trying to download this, but nothing is showing when I try to find the m3u link in the network tab. I refresh the page too. Then I did some research and checked the source page and searched for the m3u link and found it, but it's huge in size, almost 5KB. Is it the right m3u link if not how can I find it plz help.
    I got this when I tried to download it. I also tried hlsdl but got the same error. Where did I make wrong? I want to know how you downloaded it.
    Quote Quote  
  4. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Upload the m3u8 file you exported. I wanna take a look.
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  5. Member
    Join Date
    Feb 2024
    Location
    Spain
    Search Comp PM
    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Upload the m3u8 file you exported. I wanna take a look.
    Here is the m3u file: https://www.transfernow.net/dl/20240209HUuVMDon
    Quote Quote  
  6. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by Ivan View Post
    That's a bad m3u8 file. You didn't properly replace what I told you to. If you want an easier solution, load the page, choose the quality you want (720p for example), wait for it to load, and refresh the page. If the page refreshed and keeps the quality you chose then you right-click and view the page source and then you save that code to a txt file called page.txt. After doing that, you can then use the following command in bash to do it:

    Code:
    cat page.txt | grep -oP "#EXTM3U[\s\S]*?#EXT-X-ENDLIST" | sed 's/\\n/\n/g; s/\\u0026/\&/g' > output.m3u8
    or the equivalent in powershell:
    Code:
    Get-Content page.txt | Select-String -Pattern "#EXTM3U(?s)(.*?#EXT-X-ENDLIST)" | ForEach-Object { $_.Matches.Value -replace '\\n', "`n" -replace '\\u0026', '&' } | Out-File -FilePath output.m3u8 -Encoding Default
    And then it should work.
    Image
    [Attachment 76882 - Click to enlarge]


    Similarly can be done for the subtitles.
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  7. Member
    Join Date
    Feb 2024
    Location
    Spain
    Search Comp PM
    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Originally Posted by Ivan View Post
    That's a bad m3u8 file. You didn't properly replace what I told you to. If you want an easier solution, load the page, choose the quality you want (720p for example), wait for it to load, and refresh the page. If the page refreshed and keeps the quality you chose then you right-click and view the page source and then you save that code to a txt file called page.txt. After doing that, you can then use the following command in bash to do it:

    Code:
    cat page.txt | grep -oP "#EXTM3U[\s\S]*?#EXT-X-ENDLIST" | sed 's/\\n/\n/g; s/\\u0026/\&/g' > output.m3u8
    or the equivalent in powershell:
    Code:
    Get-Content page.txt | Select-String -Pattern "#EXTM3U(?s)(.*?#EXT-X-ENDLIST)" | ForEach-Object { $_.Matches.Value -replace '\\n', "`n" -replace '\\u0026', '&' } | Out-File -FilePath output.m3u8 -Encoding Default
    And then it should work.
    Image
    [Attachment 76882 - Click to enlarge]


    Similarly can be done for the subtitles.
    I forgot that '\' is an escape character so I have to use '\\n' and '\\u0026'. I used the following command in Powershell, and it worked.
    Code:
    $content = Get-Content -Raw new.m3u8
    $content = $content -replace '\\n', "`n" -replace '\\u0026', '&'
    Set-Content -Value $content -Path Output.m3u8


    It's downloaded, but the subtitle is missing. From .mpd N_m3u8DL-RE download everything but not the same for m3u8 link How can I get the subtitle?
    Quote Quote  
  8. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by Ivan View Post
    It's downloaded, but the subtitle is missing. From .mpd N_m3u8DL-RE download everything but not the same for m3u8 link How can I get the subtitle?
    Image
    [Attachment 76894 - Click to enlarge]


    You can automate it by writing your own script. Though if you only want this for just one video, I don't see the point.
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  9. Member
    Join Date
    Feb 2024
    Location
    Spain
    Search Comp PM
    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Originally Posted by Ivan View Post
    It's downloaded, but the subtitle is missing. From .mpd N_m3u8DL-RE download everything but not the same for m3u8 link How can I get the subtitle?
    Image
    [Attachment 76894 - Click to enlarge]


    You can automate it by writing your own script. Though if you only want this for just one video, I don't see the point.
    How can I make a downloadable link of srt from here? Should I append this with any other link? Can you create one link?
    Quote Quote  
  10. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by Ivan View Post
    How can I make a downloadable link of srt from here? Should I append this with any other link? Can you create one link?
    Append https://meta.video.iqiyi.com
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  11. Member
    Join Date
    Feb 2024
    Location
    Spain
    Search Comp PM
    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Originally Posted by Ivan View Post
    How can I make a downloadable link of srt from here? Should I append this with any other link? Can you create one link?
    Append https://meta.video.iqiyi.com
    Got it. Thanks for your help.
    Quote Quote  
  12. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by Ivan View Post
    Got it. Thanks for your help.
    You're welcome. Here's a neat little script that can be used as a subtitle scraper for that site. Was too lazy to bother with powershell.
    Code:
    content=$(curl -s https://www.iq.com/play/my-special-girl-episode-1-1hd4op6x2co?lang=en_us)
    
    while IFS=$'\t' read -r name srt; do
        processed_srt=$(echo "$srt" | sed 's/\\u0026/\&/g' | sed 's|^|https://meta.video.iqiyi.com/|')
        curl -s "$processed_srt" -o "./SRT - $name.txt"
    done < <(echo "$content" | grep -o '"_name"\s*:\s*"[^"]*"' | sed 's/"_name"\s*:\s*"\(.*\)"/\1/' | paste -d '\t' - <(echo "$content" | grep -o '"srt"\s*:\s*"[^"]*"' | sed 's/"srt"\s*:\s*"\(.*\)"/\1/'))
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  13. Member
    Join Date
    Feb 2024
    Location
    Spain
    Search Comp PM
    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Originally Posted by Ivan View Post
    Got it. Thanks for your help.
    You're welcome. Here's a neat little script that can be used as a subtitle scraper for that site. Was too lazy to bother with powershell.
    Code:
    content=$(curl -s https://www.iq.com/play/my-special-girl-episode-1-1hd4op6x2co?lang=en_us)
    
    while IFS=$'\t' read -r name srt; do
        processed_srt=$(echo "$srt" | sed 's/\\u0026/\&/g' | sed 's|^|https://meta.video.iqiyi.com/|')
        curl -s "$processed_srt" -o "./SRT - $name.txt"
    done < <(echo "$content" | grep -o '"_name"\s*:\s*"[^"]*"' | sed 's/"_name"\s*:\s*"\(.*\)"/\1/' | paste -d '\t' - <(echo "$content" | grep -o '"srt"\s*:\s*"[^"]*"' | sed 's/"srt"\s*:\s*"\(.*\)"/\1/'))
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!