[vlc-commits] [Git][videolan/vlc][master] youtube.lua: update signature descrambling helper name parsing

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Fri Aug 11 15:43:40 UTC 2023



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
c49166f4 by Pierre Ynard at 2023-08-11T15:21:56+00:00
youtube.lua: update signature descrambling helper name parsing

Just like happened before with the descrambling function name proper,
the helper object used within it may now happen to be 3 characters long,
instead of just 2 so far.

- - - - -


1 changed file:

- share/lua/playlist/youtube.lua


Changes:

=====================================
share/lua/playlist/youtube.lua
=====================================
@@ -542,7 +542,7 @@ function sig_descramble( sig, js )
     end
 
     -- Get the name of the helper object providing transformation definitions
-    local helper = string.match( rules, ";(..)%...%(" )
+    local helper = string.match( rules, ";(...?)%...%(" )
     if not helper then
         vlc.msg.dbg( "Couldn't extract youtube video URL signature transformation helper name" )
         return nil



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c49166f43588bd9dccb85620316ae4f5c28ae797

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c49166f43588bd9dccb85620316ae4f5c28ae797
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list