mirror of
https://github.com/bol-van/zapret2.git
synced 2026-03-14 06:13:09 +00:00
zapret-antidpi: allow some desync funcs to work with arbitrary blobs
This commit is contained in:
@@ -198,6 +198,9 @@ function blob(desync, name, def)
|
||||
end
|
||||
return blob
|
||||
end
|
||||
function blob_or_def(desync, name, def)
|
||||
return name and blob(desync,name,def) or def
|
||||
end
|
||||
|
||||
-- repeat pattern as needed to extract part of it with any length
|
||||
-- pat="12345" len=10 offset=4 => "4512345123"
|
||||
|
||||
Reference in New Issue
Block a user