I'm trying to download some m3u8 videos, I used "yt-dlp" and was able to get an ".mp4" file with the video but the file is not showcasing any thumbnail and it's missing the details like video height, width, bitrate, etc. It's almost like it's encrypted but the video plays fine.
Any idea why this is and what I can do to get a regular .mp4 file instead?
Thanks
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
-
OP asked for content on this website : https://opto.sic.pt/ (need Portugal IP)
I have made a script to get VOD or series easily :
HTML Code:import requests from slugify import slugify def getslug(slug): response = requests.get(f'https://opto.sic.pt/api/v1/content/item/{slug}').json() media_id = response['media_id'] episode_number = response['episode_number'] season_number = response['season']['season'] title = response['title'] name = slugify(f'{title} S{season_number}E{episode_number}', separator='.', lowercase=False) response = requests.get(f'https://opto.sic.pt/api/v1/content/media/{media_id}').json() video_id = response['vod_id'] data = {"1":{"service":"session","action":"startWidgetSession","widgetId":"_4526593"}, "2":{"service":"baseEntry","action":"list","ks":"{1:result:ks}","filter":{"redirectFromEntryId":video_id},"responseProfile":{"type":1,"fields":"id,referenceId,name,description,thumbnailUrl,dataUrl,duration,msDuration,flavorParamsIds,mediaType,type,tags,dvrStatus,externalSourceType,status,createdAt,updatedAt,endDate,plays,views,downloadUrl,creatorId"}}, "3":{"service":"baseEntry","action":"getPlaybackContext","entryId":"{2:result:objects:0:id}","ks":"{1:result:ks}","contextDataParams":{"objectType":"KalturaContextDataParams","flavorTags":"all"}}, "4":{"service":"metadata_metadata","action":"list","filter":{"objectType":"KalturaMetadataFilter","objectIdEqual":"{2:result:objects:0:id}","metadataObjectTypeEqual":"1"},"ks":"{1:result:ks}"}, "apiVersion":"3.3.0","format":1,"ks":"","clientTag":"html5:v3.17.22","partnerId":4526593} response = requests.post('https://cdnapisec.kaltura.com/api_v3/service/multirequest', json=data).json() for source in response[2]['sources']: if source['deliveryProfileId'] == 10182: mpd_url = source['url'] print(f"""N_m3u8DL-RE "{mpd_url}" --save-name "{name}" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF""") def getserie(itemid, seasonid): slugs = [] response = requests.get(f'https://opto.sic.pt/api/v1/content/item/{itemid}/season/{seasonid}').json() while response.get('item'): for episode in response['item']: slug = episode['id'] if slug not in slugs: slugs.append(slug) last = response["item"][-1]['id'] response = requests.get(f'https://opto.sic.pt/api/v1/content/item/{itemid}/season/{seasonid}?cursor={last}').json() print(f"Total episodes: {len(slugs)}") for slug in slugs: getslug(slug) url = input('URL: ') if 'series' in url: # serieurl = 'https://opto.sic.pt/series/rebelde-way/23eb0dfd-9766-4b84-acd8-c3e92d91d5af' itemid = url.split('/')[-1] seasonid = input(f'Season ID, search in network tab for: "https://opto.sic.pt/api/v1/content/item/{itemid}/season": ') # seasonid = '30f384c4-9aab-411d-b23a-05bd2b9f1b21' getserie(itemid, seasonid) elif 'vod' in url: # videourl = 'https://opto.sic.pt/vod/rebelde-way-t1-e1/92278d08-2fe5-4e85-b279-4b0a8ac051d3' slug = url.split('/')[-1] getslug(slug) else: print('Invalid URL')
Code:URL: https://opto.sic.pt/vod/rebelde-way-t4-e131/d51f03b7-a9e6-4518-b811-ab27945b044a N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_a6t12yl0/flavorIds/1_3nct3358,1_hcwauchq,1_urnxwb1a,1_kl7afqun,1_o7zdgxsu,1_lprlbrds/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S4E131" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF
Code:URL: https://opto.sic.pt/series/rebelde-way/23eb0dfd-9766-4b84-acd8-c3e92d91d5af Season ID, search in network tab for: "https://opto.sic.pt/api/v1/content/item/23eb0dfd-9766-4b84-acd8-c3e92d91d5af/season": 30f384c4-9aab-411d-b23a-05bd2b9f1b21 Total episodes: 37 N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_j5simf4f/flavorIds/1_golefsen,1_hmohw73z,1_4fx9yk83,1_9d2oatis,1_wewkqxf9,1_amgo2r2s/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E148" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_o1pkh7qh/flavorIds/1_iw8wcqy3,1_8cnagt4k,1_jceeevvn,1_jpyd0g6m,1_loapk47o,1_nqs7zmpj/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E149" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_h5mjo3id/flavorIds/1_rpjyraxn,1_0sps0ic4,1_0cyaapxq,1_zr3rzrw4,1_lu3ham22,1_6cn4i2lx/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E150" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_liiehkde/flavorIds/1_n4vnb2rq,1_zxv6dqp8,1_1pckei36,1_stgd19vh,1_2lij9wv2,1_38laworu/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E151" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_c00h3xbe/flavorIds/1_rj0bbc3u,1_c7e7pu4q,1_xcd9qy02,1_vrtqmlnz,1_3pmv2yxm,1_vusb2ca0/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E152" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_s7njve0f/flavorIds/1_im4ssukp,1_7l6x2h1x,1_zu9udvbo,1_whzhckdd,1_p3cmbgx2,1_m9eyj07v/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E153" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_a75iwlua/flavorIds/1_3rqzg4j9,1_iwlhrl65,1_p2r8nc3c,1_pk6cf7ep,1_9wgpr3rh,1_pile89pj/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E154" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_5jfo1wti/flavorIds/1_5x8sum6e,1_hzjwmjow,1_gvvg5mkh,1_bqkane7l,1_e5aninq7,1_b9ymo9ye/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E155" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_i86jw1zq/flavorIds/1_rziqw98w,1_p8ovyuay,1_mvfxn9wp,1_imw82oum,1_bu6x9tjy,1_4bfnkvew/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E156" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_8im4ybvt/flavorIds/1_erw95aez,1_b8gkhz6y,1_9xejb2tb,1_3cxmuc80,1_fu8gglyt,1_ahhl8vhp/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E157" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_nn9zgsa1/flavorIds/1_cd028mw5,1_vqysw398,1_8dneafsb,1_z7hgu1mu,1_syyfwfqb,1_r5oe63t0/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E158" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_34xx2can/flavorIds/1_a5i9qsde,1_3g266ogm,1_9i2d0gg0,1_8noct8dc,1_8azlrebw,1_91qng48a/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E159" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_6zv7jf06/flavorIds/1_s87vt386,1_3d0zlvj9,1_khg6tgoy,1_wysut4jf,1_sokusmfv,1_xlww03uw/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E160" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_ygpp6qd8/flavorIds/1_xlb985gv,1_ramzsuym,1_s8gbws7y,1_5w68qt1c,1_ct8hmclo,1_9h17h84w/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E161" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_3wolt9fk/flavorIds/1_y43h61jx,1_d014adkj,1_dvb775so,1_wk4zguka,1_w74hu2x5,1_wdmrvgzb/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E162" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_pxuce0nq/flavorIds/1_8ofn8ale,1_hc3d02os,1_igvd1331,1_8lhdlwbs,1_aitdvry0,1_vkhtj4mv/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E163" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_55fvtsjp/flavorIds/1_bmwrc7tq,1_5pb4gkt7,1_819cz3zk,1_hwuiaozj,1_rzp0igqt,1_5mcqtb0n/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E164" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_nws4ojtr/flavorIds/1_j512dnnq,1_t98v9udv,1_axeotiev,1_k6lm28zz,1_h3jvv4j4,1_pvdz2gmy/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E165" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_3lmngpah/flavorIds/1_lm077n7j,1_xenjxd80,1_aamldljd,1_v3q4lfbw,1_giaf982z,1_8t3ybwwi/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E166" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_nttd6ho8/flavorIds/1_ni82my6z,1_4bmjp8a5,1_sfqnuad2,1_vvj76b8h,1_2zqvzdy1,1_3mkja2i9/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E167" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_2m6eknrv/flavorIds/1_m0t4xz0r,1_7xkxlvt5,1_qtsvdht6,1_grvo21s6,1_mpp8hl2u,1_wyxw3k3o/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E168" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_j4ieah07/flavorIds/1_p43vio6z,1_6u51x0ih,1_azi7h3m1,1_jsqdctfs,1_7pvjpitz,1_9dk8ok88/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E169" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_jjellbqj/flavorIds/1_h7n30jas,1_i9yga6bo,1_esqyqudv,1_gkq6andu,1_ih6dsnio,1_ooel7c4t/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E170" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_cx91b6xo/flavorIds/1_o7kwrtjs,1_40dz4vvc,1_b0ywsv11,1_j8ek89no,1_9a8j0nkv,1_b13jjok8/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E171" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_c0qgjsi7/flavorIds/1_gl9rgea2,1_4e736j4b,1_czotshd9,1_14dxaopp,1_5fc0rmhb,1_h9anxn06/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E172" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_0vvbptnb/flavorIds/1_tdqlxav2,1_ge8qlrbe,1_nkh6oo9m,1_63huk2rw,1_qr3yk1k9,1_jqkxiore/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E173" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_sbj225pb/flavorIds/1_kmrnuyq0,1_amb2ksmz,1_784fgqz0,1_lzy07fm8,1_xbbflnnq,1_hvemkdag/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E174" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_s4ff0xaz/flavorIds/1_55rw4x2p,1_bz0vhj5n,1_e5anby8p,1_v88ojl9c,1_igq1bxew,1_2gpwf4cz/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E175" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_st006833/flavorIds/1_6w2dbbp1,1_mhajyy7z,1_fd10r2oe,1_p3ejmnsz,1_j3bgto1g,1_u2od8j9e/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E176" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_zcjrwgrf/flavorIds/1_q9re2hmh,1_dvqwrooj,1_19q72x5u,1_6ne18fqg,1_a67lkqo8,1_87zskjrk/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E177" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_fcg7mimk/flavorIds/1_8jfj23rq,1_rhon43b9,1_cptdp2iq,1_u2owwlbh,1_070ed17j,1_d54bxblv/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E178" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_413pbwuk/flavorIds/1_ebhhokgh,1_p86fg6p2,1_pub7me2y,1_9uitmbox,1_yxq7tqzv,1_42xkjiz3/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E179" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_esmei9f9/flavorIds/1_qrdntfyi,1_0szqw2pa,1_sfchwq1p,1_u8m5q0is,1_29ghz3dd,1_6vzpr11l/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E180" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_qimxnqju/flavorIds/1_ad9jzaev,1_a2ei0njo,1_fjfd9737,1_n7j05lqf,1_r1m0y602,1_1ms87gfd/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E181" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_lbk3f4tq/flavorIds/1_b5ttz39t,1_qs4hobrg,1_0159xa43,1_29g1tkrf,1_7sxl5urr,1_82rizilp/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E182" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_1tbk092t/flavorIds/1_kkvnczw9,1_38c0s7vc,1_bhj6xli9,1_uy8a54hh,1_fvrrxhq1,1_eo887p8b/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E183" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF N_m3u8DL-RE "https://cdnapisec.kaltura.com/p/4526593/sp/4526593/playManifest/entryId/1_vlpymqua/flavorIds/1_cxuwef34,1_pyze461r,1_l0d76ibh,1_pg3m7zxx,1_5288en4a,1_utdd3g78/deliveryProfileId/10182/protocol/https/format/mpegdash/manifest.mpd" --save-name "Rebelde.Way.S5E184" -sv best -sa all -ss all -mt -M format=mkv --log-level OFF
Last edited by aqzs; 27th Aug 2024 at 14:05.
-
I don't fully understand how that website works, videos have paywall without vpn, and a DRM'd manifest, but a none DRM'd manifest too.. Weird.
Need Portugal IP to download those manifest but adding X-Forwarded-For + IP, header works fine ! -
Originally Posted by pesfacemaker
https://files.videohelp.com/u/309512/Rebelde.Way.txt
Similar Threads
-
Script for parsing m3u8 content and downloading videos from iQIYI (爱奇艺)
By CrymanChen in forum Video Streaming DownloadingReplies: 23Last Post: 13th Sep 2024, 04:04 -
downloading vod through m3u8
By hoonified in forum Video Streaming DownloadingReplies: 5Last Post: 23rd Apr 2024, 20:40 -
Downloading encrypted M3U8 HLS videos
By MachineLearning in forum Video Streaming DownloadingReplies: 40Last Post: 10th Mar 2024, 06:54 -
I need help downloading/merging m3U8 videos with my credentials please
By Min in forum Video Streaming DownloadingReplies: 4Last Post: 16th Apr 2022, 02:57 -
Help with downloading m3u8
By patrinos in forum Video Streaming DownloadingReplies: 3Last Post: 29th Nov 2019, 02:55