version 2020.11.16

radioplus v2020.11.16
Dominika 2020-11-16 01:31:37 +01:00
parent 6f876fba51
commit 98e6a95bd5
4 changed files with 16 additions and 6 deletions

View File

@ -1,3 +1,12 @@
version 2020.11.16
Extractor
* [youtube] fixed channel, playlist, search
version 2020.11.14
Extractor
* [youtube] fixed static crypto
* [youtube] new *tiny* crypto extracting system rewritten from bash by @selfisekai
version 2020.11.12
Extractor
* [tiktok] fixed extractor

View File

@ -1,10 +1,11 @@
#!/bin/bash
func="$(cat $1 | grep -P '[a-z]\=a\.split.*a\.join')"
data="$(curl -s "https://www.youtube.com/s/player/$1/player_ias.vflset/en_GB/base.js")"
func="$(echo "$data" | grep -P '[a-z]\=a\.split.*a\.join')"
echo $func
obfuscatedName="$(echo $func | grep -Poh '\(""\);[A-Za-z]+' | sed -s 's/("");//')"
obfuscatedFunc=$(cat "$1" | tr -d '\n' | grep -Poh "$obfuscatedName\=.*?}}")
obfuscatedFunc=$(echo "$data" | tr -d '\n' | grep -Poh "$obfuscatedName\=.*?}}")
mess="$(echo "$obfuscatedFunc" | grep -Poh "..:function\([a-z]+,[a-z]+\){var" | grep -Poh "^..")"
rev="$(echo "$obfuscatedFunc" | grep -Poh "..:function\([a-z]+\){[a-z]+.rev" | grep -Poh "^..")"
splice="$(echo "$obfuscatedFunc" | grep -Poh "..:function\([a-z]+\,[a-z]+\){[a-z]+\." | grep -Poh "^..")"

View File

@ -1104,14 +1104,14 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
def _decrypt_signature_protected(self, s):
a = list(s)
a = self.mess(a, 69)
a.reverse()
a = a[2:]
a = self.mess(a, 56)
a = a[1:]
a = self.mess(a, 65)
a = a[2:]
a.reverse()
a = a[3:]
a.reverse()
a = self.mess(a, 2)
return "".join(a)
def _get_subtitles(self, video_id, webpage):

View File

@ -1,3 +1,3 @@
from __future__ import unicode_literals
__version__ = '2020.11.12'
__version__ = '2020.11.16'