Giter Club home page Giter Club logo

Comments (17)

DevLARLEY avatar DevLARLEY commented on August 29, 2024 1

Sorry for the late reply.
That '../cdm' issue was caused by PyCharm refactoring my code. Your client_id and private_key need to be converted to a widevine device using this command: pywidevine create-device -k device_private_key -c device_client_id_blob -t "ANDROID" -l 3

from widevinefetch.

Gestrid avatar Gestrid commented on August 29, 2024

That worked!

But now I've got a different issue.

I'm trying to decrypt the video at https://en.jff.jpf.go.jp/movie/time_of_eve_the_movie/. Thanks to yt-dlp, I've already got the encrypted audio and video streams downloaded. I've also got the PSSH from the .mpd file. I'm also logged into the website.

However, I can't seem to find the POST request that has the license info in it. I think it's one of the two POSTs coming from https://widevine-dash.ezdrm.com, but using one of the two POSTs from there in your app says something about a certificate and to use the other POST request.

image

The other one gives an error that there is no license detected.

image

Am I doing something incorrectly, or is your app not capable of handling whatever type of response it's getting yet?

from widevinefetch.

DevLARLEY avatar DevLARLEY commented on August 29, 2024

Ok, so first error is supposed to happen, because that's the certificate response.
Could you post the original request body of the second request? It seems like the server is returning a 2xx status code with nothing in it. So either something is not supported yet, or you need to block the request in the browser because the server uses one-time tokens or tokens that expire really fast

from widevinefetch.

Gestrid avatar Gestrid commented on August 29, 2024

Here is what I paste into the app for the second request. I copied it as Fetch.

await fetch("https://widevine-dash.ezdrm.com/widevine-php/widevine-foreignkey.php?pX=D6F9EE&key=4a185187-58d6-47b3-8ed3-94a911a09daa", {
    "credentials": "omit",
    "headers": {
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0",
        "Accept": "*/*",
        "Accept-Language": "en-US,en;q=0.5",
        "Sec-GPC": "1",
        "Sec-Fetch-Dest": "empty",
        "Sec-Fetch-Mode": "cors",
        "Sec-Fetch-Site": "cross-site",
        "Priority": "u=4"
    },
    "referrer": "https://en.jff.jpf.go.jp/",
    "body": "\b\u0001\u0012�,\u00127\n5\n\u001f\u0012\u0010\"þ5zA�ôæÄ�D66¤\u0001\u0001\u001a\u0005ezdrmHãÜ��\u0006\u0010\u0001\u001a\u0010V�Þ)§���ϧ\u0007îÀ\"JM\u0018\u0001 ¼�´µ\u00060\u00168ó�«\u001fB°+\n\u0014license.widevine.com\u0012\u0010\u0017\u0005¹\u0017Ì\u0012\u0004��\u00063:/w*�\u001að(\u0014)ÄåAT¦Ý\"fçÊú�\u001b½ÜÁ�\u0000\u0015ÅÁB¸\u0000dó�ð�¼\f\u0003I¥\u0007�.ô8\u0011:O¢\u0001BC\u0000Ü7¯X\u000f4\nx�¹²\u0003êñº¬\u0004Ã�Õ:ME©ï¿�f.òÓDö±Ü°�\u0018Þ�Éq@d�Ù¡wÖ$�>×\u0000ì�±�+�ÈvCuLÅqióÌQÔã(nlpèqãu°Ù�ÜÐUqt0&÷ã\"\u001doX\r\u000b\u0001ôt���õ�1õÞϤí=I»\u0006\u0018I_à<�sä�X�»ßQ!N[\u001a²\fæ¤�\u0017ÏMOT?vµ�²à\f¦�Ì¢\u001eãË�s«äö°��Ã\u001d<\u001d·\u00179Åýü�»`\u001e�\u0002%\u0018¡H~9£?Tô(ÕÿÐ×å¹\u001eÞ\u0000ýÇÛ׳7~jÊö£K?U£éî�¬ú\"%°Ã½:�KȹÛ8¨�ùÊ1ì\u0012,F9ãøËQ��ì��Ç�t5µª\u0019gvm¥Bt�\u0011\u000bùpu�tÆ\u0001�õå ÖS¡�\u000e\u0019K�¹v÷)Yg¬§Âs\u0001mG4 ³Ää�2u\u0002��*\u0002ý\u0015ÄK�\u0018ÃôK\u001b�>=­5ÙÐ�jE^Yqq[ÒØ!\u000f\u0005ÿmW\u0000\r)�MOê¿ñd\u0014hû\u0012]B\u001fÔ�½´�ÅìÜ\u0013çôØJ\u0016�\u001d¡d�¦+L>®Y��Tsÿ=ò�xK�&N�ä��Kzô¹\u001bd¿t�\u001d9+²×u(¥ép�\u0017JÅ\u000br�ÉIZ�k�wd|'·çÍŨ)�0¹\u0017ç�µ�hı�T7Ýî¡�\u001a]p4ø#cc�óÈ�lV¤¶Ö�ë³�¥ÈçåòoàÅ�ÒÓË+�ú���\u0005\u0011�^��]°j®0w\u0000´]\u00140¹u\u001a¢\\úâÙC� ��L\u001a�\u0018¹�®�\u0005ôÂs÷���\u001cû\u001d©\u0002�t¨¦_�\nX,\rVþ/ø�Ò�\u001fX°hµF�[\u001f6ÞÇæÒ\\ä\t@?cìü�ÿx\u0006.z<{?JO���Áñ\u0014�9æ<\u0017è¼$d\u0006�ýâxc\u0017\u00163_�öF\u001b+#*á^é,{p3y=:±\u0001\u001a\u0013^©\u0005Ïd,º\t�-0ØF�ÂC�¾\u0004�°åC°\u000f�)á´_be×Ò)c0\u0013#wÇ\u0004éå�\u001aáF��F\u0019ÖßHn�t�ñ:-ZÚ&b4fö\u0017M×�\tl\u000f´ä+ï\u001c�>YÞ�¡\u0015S\u0007³¸w×2�\")\u0016ªÞ»\u0016t÷ÊBa�!�¡7ckìFs¡Ñ\u0015\bI&äË+àä\u0000*Åõ�cóã�Ü·y��\nEfô\nl��:³\u0007Gó�\u0011n/E\u0019£ìË#½-Ò:WÒæ£\\ËÛ¤S\"¹\fo¡é\\ÅQ(L¥?ÒDÓ�ÛýZb��צ¾=ݱÎ�JTE�|�±é±�\u0010UJL?b¹\u0019\u001cvbÝM\u001cÌBOx\u000b¾��¬¸ÑûÊ£}�Ãq5å\u0002ü½Ô\u0019R*ºèBéÕ�%¸·Ì&dmÎ��­Ûý\u000bÇ\u001a·p}a\u001bPs�\u0018{o=9\u001e¶K¥�\u0004�8¿[á¢CwIÜ\u0000)�í.\u001f7ßÔUY!ÊNþ:ð1$sÅUý¹\u000f³¦ØÙ\u0019�\u0018ítTüüLØ�\u00017\u0003hkP��\nçøX3²ñ\\��®t²w\\À ±�W´Núeb%=ÁǺI\tp¥òdÛQ\u001e�g\u001bë�ZP�Y�ãLä{\u000bväå\u000b�x¥É\u0004�4u¯åå�\u0014e]�é¨k�¦xÑI\"�º�xÌ®\\9a�x�^^)Ì\u001aªg®\rê\u0006�^Ì�]\u0012�³�i|Û\u001f�M\u0012� ñ#c ¯[úSÛw?\u001eâ?fc¼Çå\u0013@ô¿§4¶\u000b�àm@à£Ý%ö�E&W�ùï¼ln\u0010«��Å3ø\u0012dÙ'��\u0000Ò\u0015$\u0011ò�9C�hú»ÿ5\u000foþÀí×ÎE¸¤78*ÀF÷¢ú]¦H¦\u000e¹º�Î,\"1\u000f�Z\u001aÃÏðé\b\u0010\u0016-]j\u0007?V¦�Ür\u0001²Ã� 3ò\u0003¹¿�I¯Zv2è�åÆÞv»ë´óñÉ¿J�.(HÝÌòá�5%¶×�`ôaâQû�P5ýÅ}0Ç]¢¢°lè4·z�]tľºÄ�ê#ÒNú[��\t�VErþ§¶\u0007²ã�më�u��¹�#�Ï�²¦CÚ�.�Ì\u000ef¯\u001d�üê�È�\tkÏÏ¥+\u001aîæ\f���èÉ�\u001b~Ë\u0004âß¡C¶cÀ6µß0o&%\u001eÓÁè\u00120bÀ�-çuÝ\u001c�Ä^\"�\u001c¦\u001b¦2�\u0015Ûë\u001døÆ� \u0004ôÎ>y�aÐmÁ\u000f�Ï´\u0012-�~¾ì\r\"k\u001eQ\t\u0005×� \u0001QÜ��\u001e\u001f�w/Ò\u001c{çÕ�\f;WLp¼�ÆÐö�¾g�æ¶Éw�òL\n�ù\u000f\u0011Zÿ¤��\u0018ãßéÛ�Mò��Í·�\u000b\u0005ô«!ÄéRìý�ϪXhTõ0\u0002HõJ¡E§Ã¯ÄíO��3 ¾\u001aà9ÄÄÝ=ñ¼lPÐ\\r¦[ËÆ! ghÄ\u000b\u0014][áK=ôË(\u0014a©w½�¥ulo[$ÞV\u0010\\�&�üöë�><Ñ�ø�ô�üOQI=�ÒÅÓ]õ\u0002\r\u001d?Ï�7\u0006�»y\t\u0013�\u001c\u0017ÿ:Mí�p{5�ú»ì¹¨ÝCC¸4§ýzm¶9s8²£khâM}q}ømM©^�%\u001e�Çkp\rÂë*\u0010��«lI³\u0004Ò�{�zÈ°^ÌÜ\u0010ßVñ¸�\u0002lötÏ´\nD.\u001eù1?eX�H\u0007\u000e+­oÝ_3%dw\u001bÒ³ÓFP_Ú2Q�>p¡��m\u000f°d��Cµ)øJ�ªMÆ340\u0013¥5Ò\u0007Å�0M«|�\fC\t²µ¶/\u0017äDMí¬wj©¯� f¹î�µU4\u0014�\u001f\u0010ã*�ãÑ \rv´­7Uj\"�,ø.±ý¹_4Òíx&nqIeà/¾lÐ�õû8jß�ÛÂ3ÉNïkQ�QóJ�ÓùÌv��ú\u0012\"ÈMÁr.:�� iªaY�¯õÄ\u001bÑn¢mø\u0002Ó`0ÿÿ\f�t®j<¿¿gkc¿}Fç5\u0018=ÏÃo;\u0017 9å}-çà�\u001dâûÔG`7côÁ�\u0016¤`¦O©¡\u0014ZXB1?\u0006Û\u0004+{©À\fK:Ô¢ÜÞÅ\u000fÉ�\u0000\u0016=úïí\rH�4�Rµ�ù/�éÚ[$8?KXÀ�¾ë\u001f,Y�\"ÑÞ^K\u001f¼��ãÕ\u0011Õo�@�ÙPog�\u000b\u0005\u0019� xy:�µ\u001c\u0016@U-QÎhu\u0016�N¿�R\u000eöÄ�ùñ\u0017z«bu-��È�� ë|ãY\u0003=¼s«¡+ÍÍ`\b�ö\n\u0002k¯Ô�ûî^OmP\\sÙf�çÜ-K���¼\u0003ÕoßûXÕ\\¹±«�Ä�Ål<\u0013\fÄ\u0003rÀ½\u0014(ý2\u00044å\u0002SaðöòÍG\">4Õuù�`®. 7�8w#ÈU\u0001ªéÉ�ÆØq�VwªT�4(-¸pº�!þÆ�×÷&S�¹¾¢¬II2¼Ñ¢�ë¼µVñº�&Ú�,\u000b^ñ�>�ÉÇæ·ju\u0002�ÏÑ�ü¡\u001f\u000e�(\u0016\u0014³Ì�è¤äÖ\nje=�ri�\u0003�ú\u0003®¢Iv5E�y´ë¹-³!§R[Xï¶�¤ßÁ�î��'\u0000à\u000féÁ_K�\u001a�¬È� ¢evÂÑG¤-\u0006ɳè§7ÉÎ\u001e�àFø¯û�ûÈ'�\u000f\u001d©¬�ÎÛ|¥ÍR×|�̤°¿�hG¨dÝ�ÿÎ\u001aL�Ý£§\u0011°Q�ÔC\u0011Þ\u001b¶\u0014bÜU(ò{ô¼Çà\u000f¢sn�¯=äZ'�\u001c�ó�m\u0019Ù*\u0000»}�CÁ<x�ÈVö�uù\u0017 \u0014�q\u0018§\u0007X³«=Ù\nb\u0000°\u001fw\réH��þ\u001d�Íè(\u001a±fõî¡ï<Ýë,d9õåÎ5\u0019�Z\u0012º\u0019îMü<¯A©ÆÈ\u001d^¤¹UUü³^jÍÁÆ\u0003N-\u001cX_ïPüæú!\tW�J�]³\u0019�e\u0010QË\r�ÓD AòA��æ)¦ÏfÉÈ\u0012}ë\u0015H©y\u0011ö_¨½�\u001c��\n,9�.Ý&\u000fÁø\u001a\u0010ð\u0015¥\u001dÌ%ÊA�jB�Î�¯1\u0004�åÿ¡Uò©¶æqÙ0�¤\fýB2ªö\u0007o5ùâ§�pÜ?±¸dxu�,\n\u0006Åûyý\u0015A�a\"S\u001c'¨\u0001?X��\u0001öH\u001bþ\ta�´'(�M9aB»Y\u0016+ÂE_öçE�e]õ\u0005pÉ\u000e�ª:ÉçS§�,ÀÄwþO\u001et±s�6ÀPνÂÜY\u0018uÚ¥\t×£i³ëgÊìÒ�\u0003ÊÀ½ÀÍ°(ê�\u001az�ôU�JU^\u0002ê¸99Ré�ëB6\u0007·\u0006�EÖ\u0002�©L\u000b\u000e÷�F��(P���ïA3=£×@ÚgµÝã\u0003ã¥È«P=üýµza^\u0016Ùê\u0011­RL¾K�ÐjiL\u000f»ÞQú\u0007Ñ��\u0013�5°ÐCsNº-��ó�Iç±5ie°é{\u0011Ú\u0000èhÍ)¡U�òn+_Ã��µ\\�\u0013p\u001a,ÀZö�ÙÐGéù\b3wíø\u0013Á757\u0005\u000b\u001büA<¯�H»\"�K��ý\">\t:�Ý�#§»\u001bÓ�ܼ²\u0001;�è^~$ßþ¬ü)n�UõéRÌ\"A\nÔ¥d6�\u0013`Xn�wN9Ky-£gd\rAN�#ÑÖî`«f~g_h}K=��e>\rÑ\u0016\u0005�-\u00059]7ó8ίHï7ßÉ\u000bq=Í°\\hßt4O�Ð�Éù®J¸9\ne#\u0004Îê(:F\u000e\u001f®�X\u0013ç�J\u0001çd-$Ë�ûC\u0000BþM%Ã#í7\b¾yøÞ^\u0005\u0014û:!l»�@sl-*'5ýú}Þû�ê¬�è\u001b \u000b-ñ¢l#1)ú}Ö\u0017�§½Ô\u0016ÁuÎbt�\u001fYÆdì¸û£�¼å\u0007©�\u001eg\u000b�¸²:jÞ\u001bïéd>\u0007Õ�{{¨Õõ«aãÓ@0ø¯�ch¤[¾ÜY�\u0018}�Yëð·PíÄËó�i½:\u0012Ï$UgQáýGªÛNÎùÌ�ù´\u0011]<�Y;D�©Û\u001d�0O�x\u000f[yØ×\u001fÚÑO)âä>=º\u0007V ¤j¹`zN8¬Ó\u0002ÀJ¼ÏyÞ~Ãa®5u%³;Ø�ÏP{Ðï�t°�-�i³öÊbP3W^\u0003\b�\rþ§�Ï�ÙÇÖ,ÎÒ2RwÝsàO§ó­G_Ø�o�;�ò�XÈb¯a\u001a9Üô�Ñvbî\u0005îïbC¦�\u0005T¼�òOþÕwÎÓõ± ð\u001a\u0013g>f8�y§%S~A°;\u001al\u0013ñyÌV=ö��&Â\u000e7rú ;µ_\u001aú÷<\n´\u001e\u0012ÅÝÐ\u001e1ÿñÓ%��¨\u0011н8\u0000\bíË\u0003¥��»h�G®\u001fì÷U¸´VÔ�mÃQ§ü¾\u0016ñÁÛ\u0004³RÐNÆ�­�-N�yJ\"FqôæÕ*ë±c'ËtgêCl¸6ýOr<_(C�ø¹½Ç\u00056$Õlû;Ä\u0017Ä,ïÆV®Ë \u001a0e5í¥QB]°iÖÒèD­@\u0011m½Z\u0001o»� \u000fµÎµÎy¥�\u0000Yok²�\u0018ÇÏ\u000bh�ªÐ~Ìïp¶ª9ÊVÉw�=`À'¤<'5�íÊ�ä¶Ï'�\n��\\xH\u0004övL�²a\u001aq¹F\u0001f\u00048�E>â\u001cÓ¦u�ã�Ù»fÙ�\u0002�H�\u0016 É\f¹í´!Ôq�K\b��uHV­w�ß\u0005\u0013å?ßËéÔ�²NÐò \u0018c\u0014ÔÔ°x{_̶Iébi½�74¹N×\u001bè\u0004�È{�g»\u0014Õ\f,_�\u0005\u0012!�ý\u0017nGþ\u001bø>\u0010ú�6@�o<K\u0014UI¯Úg�b¬wð:\u00177\tËþ\u0001�*ÃU�&�\u0015'Ú$2eö51OãÛÑPÀ\u0017¼�`õeÆVH\u001f�º�â\u0014YiÜà�.ÿ°²¨�ûÖV¸�­¹¬&KâEd¯\r\u0012©0Æ\u001b�[Ñ\u0012®kjHE\u000eò�.��ÃÎß½\u0003­ð¤O\u001eîa¦W:0ïîY\u001b\"\"ýõÝo´UVÂ\u0012\u0004\u001e\u000eµ�Z\u0005\n¶û�¡\u001bÜ�ªv°�.h\u000b³:OÅ?\u0006F%Ê\u0019�m×%ÅÙ²\u0012�§\u001c\u0007ÑÐ�7ù´ Þó4Ó#\u0013ZQ¿2:�{rÑä¹°'ô�5�X»â�]�½]�%û\u0007·�G�C\u0012U\r6ã�\u0002ÙV×\u001a�K�¤äÒ§¾ü%^Äù #þ\u001eÕÀJ!ãN�tÅA°J3þç\u0007�\u000b=[ñ�\u0006�\u000e,ér^ò¢þÎ\u0015�NhvóQOñÀàHÞ§\u0000(¢7ù¿A\u0013|º�T\u0000Æñì8HV­ÓÈÂÅp\r\u001f¯2ê�(%F�pNÏH�¥Ô´\f\u001bÊ°�²���ÅÑ\f¤äF\u001e­Øííçpb[òg°¤],óÄW\u0014�Ü¿Ø6\u0002Þ\f{d2<øh½¸t\u0019»C\u001bÔCRâµ g¡Ë��$Æt \u0018±Äú.je <Îô�9¥\u0005w\u0013ìü1\n�ÉfÄ�\"»�ä(ü�à\u0002L&ß.é\u0011���h!{ȹ&]¾²=2R�O\u001b{ÁúºüÍú�\u0003»ÞxJ·®Ò�äÔ�ºh^\u001a9i\u0012;\u0013M¶%\u0019Y\rÙÖLúËJ\r;9«>¸�Æ\u0003ihi{��Pj\u001cn$íl�$ £\u001a·Îó\u001d\u0012é\u001f·�¹°×ödBÃ{Ê\u0014)ç\u0005êÝPM\u0001\u001b@�0\u0013\tÜ�\u0018~¦fîGI}M\u0006\u0005'9°bô!$\u0001XÈ�ÖLMoq\u0003¾ÇUb&©�é{)CÏÁ�i<I:�Jj�Ó\u001fNt\u0016ÞH��íÒ\u0011Õ\u0011Ø5¸Nh¹\u000f\u0004\b+;@�\u001b[Òí(¹NÔüÒÝ�\u00116î��<Õc¬\bc¯�Í¢ªs\"\u0000³cèóêÌY¡î��\u001d�¢Mð\tÕÁ\u001el¼Ëdê®!K�S�\u0004TȹU$«6\"ú�Ðd6\"ä�\u0018Ôz\u001a¦}¯�à­*G9â-,ZçÎ�A1\b\r¹Ã�¹µé3Î\"»<�Ö¦ÚÍ\u00062Jòí�¤)�I��Õ\u0018tOãX»kEGkñ¾�g}ð� �R¬hò\u000fõ\u000e\u0005\u0011>õç�/\\`ÆTZ�#i'=pçöQ\f.M9êç´\u0003j4ß\u001fÜôÙGï±\rgÂ�Ï\u000fü�W¹\u0006Îé\u0014\u0015t\u0001Ð�¸\\¨_J�ÌÉz\u001f\\Ý¢½M\u0013U \fOùn\tÜ\u001eØqÂ?ò�\u000e�\u001d®Ä���\u0010¾`�ØN�Ñ­ò&�Õ¬V²\u0016§¡ìk\u0015�Ð8gFt���F)\u0001êc%ùRö\u000b}·ÆA\u0014ÈO��©ÊoK��°\f(¿Ë§\u0001hqÛ9a\u0006\u001eB?Ô§�Åp%E\u001c°\u0007äíÛ\u0001­¨\u0012îÊL�\u0003qµù#â\u00156uú/@cWZ:;ú�¡¾\u0016�E:\u0003�\u0007\u0006R�Ú¹#º=%U\u0014Êù\u0017øP>ä�¯�ù1½�·\u0001k��n�è\u0014«ô¿�Õ,\nz¡�x©¬�ßrÌöú�$±¨Í�õÂ�ÇÝ�\u00184\u0019ô ;�\u001e¯ì\u0014ßoÞbÉ#|�Í\u0014\u001b¾�\u0010*\u0014~�\u0002QüV¯\u0019�b+ã�ÇV\u001eEC�;Ý%\u0011õ%\u0012XÅ�à,ýo\u0010åÚ\u0016ù�q�c�4ú³hîT3P\u000fã+´2*Po\u0016Ò\u000f\u0005>�\u0001ßú¡9(qÔz4$PòD9�éèÆö×íSÛ�ê\u000e\u0000ð3ê�Å�íNd°\b���Ë�²d©\u0001Ã,\u001eé�ªÏc÷è\"\u001fû\u000eq��¡ïi\u0018ø\u0004\u001d\u000eþk×´�\u001b\u000b\u00156*\u0005å6+¶Ã!PòËaÇeÌÌ3Ú�ûÏ\u0006íëEûÙÓ\u001dQeoàÖÒJI�ùd#é�m¾S�Äf˱�Ý�%�~j\u0016ü\u001b=\u0006]Ýéµó���Àª\u001dnÿº©Géx\f�ØÕ�5§êy˾\\�íéÛ\u0012��'b²\u0015P) +a\u0001\u0010ÆVõ¦ç�÷�­�\u000e�\u0014Z#9¬\u0011�/§½¡oÒÓM\u001c\u0012À'm°¬�Ó<÷àº\u0000M\"\u0010¤9:Å\u0001Ü#=�¢S\\ÄF¡ã*�\u00020rË�x�\u0005ÞZ�3zP�g|2¤M])%ô?\u0013l�ø£m5k\u001b\r\u0017�Ûò-®0*�\u0006·õ{\u0014ã7»xß\u0018�Í\u0019ípÅø°�Ä\u0015\u0004�ì�\u000føÊ\u001a$�ÿ$i[å��å4\u001e§Ê�,ÆÎAkØ�g½¶HxÁ¤ÄÓï�®\u0007Z\u0003ÃÄ9[¶ý-TF¨Nì\u0017µú|3 \u0010>U�½Ð\u0015\u0018]2ʳD\u0016��­±\u0005Ç8�Bp��xD\u0010Ñ�`AP\t\u001a{»Îb¡�öx½÷£¢sA!ä\u0018zç�&½\u0004þ�rap\u0000h¨öÒ\u0012+\\[\u000bîdõaÃá±\tgê�óUsËqí+Ào�ï!�píP Ép ï=KQ;Ç�ð�¦þë¾ÁÖ&³Äoå�\u0001LJ\u000b4.10.2710.0\u001a�\u0001\u0005³Í�\fÇ-~�ÚÀ¢îØ\u001c{�Ar\f�\u0005·¥�ââT�\u0019\\�R=ô9�Ýx�1×�±Ò1¤§Üo</«ux\n\t�,\u001d÷<<\u0002u¸\u000bð.\u0017¡ý�®wÚÊì\u0002m&�DÓpõí>ÑøBo¨�\u0006ç¹\n¬~K¹Ö%Ìvhü5\u0007hÙw�8+Vã8ÿÇwît,°I�J\u0014\u0000\u0000\u0000\u0001\u0000\u0000\u0000\u0014\u0000\u0005\u0000\u0010\u0003êËsÝ­¶¾",
    "method": "POST",
    "mode": "cors"
});

from widevinefetch.

DevLARLEY avatar DevLARLEY commented on August 29, 2024

it seems like it can't encode the license request... I'll investigate

from widevinefetch.

DevLARLEY avatar DevLARLEY commented on August 29, 2024

What browser and OS are you using?
It seems like some characters are unrecognized ('�'), hence the error.

from widevinefetch.

Gestrid avatar Gestrid commented on August 29, 2024

I'm using Firefox on Windows 11. The output is copied directly from the Network Monitor that appears when you right-click and choose "Inspect".

from widevinefetch.

DevLARLEY avatar DevLARLEY commented on August 29, 2024

Ok, i got it. You have to block the license URL and enter the PSSH manually because the key argument on the license URL is based on the request data or something.

from widevinefetch.

Gestrid avatar Gestrid commented on August 29, 2024

I apologize. I'm still somewhat new to this. I'm not entirely sure what you mean by blocking the license URL, so I'm not sure I did things right.

Just now, I tried blocking the POST request that gave me the license in Firefox's Network Monitor, and then I copied this FETCH data into the app:

image

But the result was the same:

image

Just so you know, I've been pasting the PSSH in there from the beginning, ever since I first opened this issue.

from widevinefetch.

Gestrid avatar Gestrid commented on August 29, 2024

Here's the link to the .mpd file I've been using. Maybe it has some insight into what's going on with the license.

I tried to upload it directly, but GitHub didn't like that.

from widevinefetch.

DevLARLEY avatar DevLARLEY commented on August 29, 2024

It should work. But you probably didn't block the license URL correctly.
If you right click the URL and chosse 'Block URL', it's gonna add the whole URL to a filter (including the params). Problem is, that that won't block it again as a parameter in the license URL changes, so just add https://widevine-dash.ezdrm.com/widevine-php/widevine-foreignkey.php to your block list.

from widevinefetch.

irwa1715 avatar irwa1715 commented on August 29, 2024

sorry, I also experienced something similar

how can i get cdm/device.mvd?

from widevinefetch.

DevLARLEY avatar DevLARLEY commented on August 29, 2024

see here

from widevinefetch.

Gestrid avatar Gestrid commented on August 29, 2024

so just add https://widevine-dash.ezdrm.com/widevine-php/widevine-foreignkey.php to your block list.

Sorry it took so long to get back to you. Finally got around to trying this, and it worked! The video decrypted correctly. Looks like the user has to be quick to copy and paste the FETCH data and start the process in the app, though, or the server won't send a license.

from widevinefetch.

DevLARLEY avatar DevLARLEY commented on August 29, 2024

yes, there are tokens that expire after just 10 seconds

from widevinefetch.

Worz01 avatar Worz01 commented on August 29, 2024

yes, there are tokens that expire after just 10 seconds

Ive faced the same expired token issue. Any way to know by looking at the licence/token how long its set to expire so I can work accordingly?

from widevinefetch.

DevLARLEY avatar DevLARLEY commented on August 29, 2024

If you're working with a JWT (aka. Bearer) token, you could decode it on their website and look for a timestamp or similar inside

from widevinefetch.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.