3 ms·
From the youtube-dl source code, in a file helpfully called youtube.py: def _decrypt_signature(self, s, video_id, player_url, age_gate=False): """T
by ntauthority 6y ago
From the youtube-dl source code, in a file helpfully called youtube.py:
def _decrypt_signature(self, s, video_id, player_url, age_gate=False):
"""Turn the encrypted s field into a working signature"""
if player_url is None:
raise ExtractorError('Cannot decrypt signature without player_url')
It definitely does do decryption, as stated in the DMCA claim:
> is a technology primarily designed or produced for the purpose of, and marketed for, circumventing a technological measure that effectively controls access to copyrighted sound recordings on YouTube
.. and some claims referencing a 'youtube to mp3' site ruled illegal by a German court.
Not defending this, 'effective technological measures' are a horribly broadly-scoped hole, but there is decryption at play here.
- hamiltonkibbe 6y agoCould you make the argument that the technological measures are not effective and therefore not "effective technological measures" since youtube-dl is able to access the recordings in spite of them?
- ev1 6y agoI anal, but from what I've read DMCA anti-circumvention of access controls applies even if it's the string backwards or ROT13'd, because intent.
- sjy 6y agoYou could make the argument that the technological measures are not effective (the RIAA says this was rejected by a court in Hamburg), but not in that extreme form. If the existence of a working circumvention tool implied that the technical measures were not “effective,” then all circumvention tools would be legal and the law would have no effect. “Effective” must mean something more than “so ineffective that it can be circumvented with common sense,” and something less than “so effective that there’s no need to make its circumvention illegal.”