https://github.com/linux13524/youtubedecipher
Library to decipher youtube signatures
https://github.com/linux13524/youtubedecipher
decipher signature youtube
Last synced: 7 months ago
JSON representation
Library to decipher youtube signatures
- Host: GitHub
- URL: https://github.com/linux13524/youtubedecipher
- Owner: Linux13524
- License: mit
- Created: 2018-02-08T16:41:22.000Z (about 8 years ago)
- Default Branch: release/1.0
- Last Pushed: 2021-09-13T16:33:30.000Z (over 4 years ago)
- Last Synced: 2025-06-10T22:13:54.788Z (8 months ago)
- Topics: decipher, signature, youtube
- Language: CMake
- Homepage: https://www.linux13524.de
- Size: 112 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://app.travis-ci.com/Linux13524/YoutubeDecipher)
[](https://ci.appveyor.com/project/Linux13524/youtube-decipher)
## Conan package recipe for *youtube_decipher*
Library to decipher youtube signatures
The packages generated with this **conanfile** can be found on [Bintray](https://bintray.com/linux13524/conan/youtube_decipher%3Alinux13524).
## For Users
### Basic setup
$ conan install youtube_decipher/1.0.1@linux13524/testing
### Project setup
If you handle multiple dependencies in your project is better to add a *conanfile.txt*
[requires]
youtube_decipher/1.0.1@linux13524/testing
[generators]
cmake
Complete the installation of requirements for your project running:
$ mkdir build && cd build && conan install ..
Note: It is recommended that you run conan install from a build directory and not the root of the project directory. This is because conan generates *conanbuildinfo* files specific to a single build configuration which by default comes from an autodetected default profile located in ~/.conan/profiles/default . If you pass different build configuration options to conan install, it will generate different *conanbuildinfo* files. Thus, they should not be added to the root of the project, nor committed to git.
## Build and package
The following command both runs all the steps of the conan file, and publishes the package to the local system cache. This includes downloading dependencies from "build_requires" and "requires" , and then running the build() method.
$ conan create . linux13524/testing
### Available Options
| Option | Default | Possible Values |
| ------------- |:----------------- |:------------:|
| shared | False | [True, False] |
| fPIC | True | [True, False] |
## Add Remote
$ conan remote add linux13524 "https://api.bintray.com/conan/linux13524/conan"
## Usage
- Include the `decipher.h` into your code
- call `Youtube::Decipher::instance(videoHtml).DecipherSignature(signature)`
`videoHtml`:
- Any Youtube video HTML (used to extract the ytplayer.js)
It is not necessary to provide the whole html due to simple regexing (see section "How does it work?")
`signature`:
- The signature you want to decipher
## Dependencies:
`boost/1.69.0@conan/stable`, `cpr/1.3.0@linux13524/stable`
## How does it work?
See the [wiki](https://github.com/Linux13524/Youtube-Decipher/wiki)
## License
[MIT](https://github.com/Linux13524/Youtube-Decipher/blob/testing/1.0.1/LICENSE.md)