Commit a88fda77 by Paweł Wegner

YouTube: updated descrambler.

parent 35401f4b
......@@ -117,7 +117,7 @@ EitherError<std::string> descramble(const std::string& scrambled,
std::stringstream& stream) {
auto find_descrambler = [](std::stringstream& stream) {
auto player = stream.str();
const std::string descrambler_search = ".set(\"signature\",";
const std::string descrambler_search = "\"signature\":\"sig\";c=";
auto it = player.find(descrambler_search);
if (it == std::string::npos)
throw std::logic_error("can't find descrambler name");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment