J
J
Javarast Skriptovich2019-02-11 09:14:09
YouTube
Javarast Skriptovich, 2019-02-11 09:14:09

Subscribing to a YouTube channel using AJAX?

I am writing some extension where I needed auto-subscription to YouTube channels, scripts are injected directly to the YouTube page, so I can send requests with the "correct" origin ... but it doesn't matter ..

The problem is that after looking at what request is sent for subscription through Fiddler, was horrified that everything was encrypted there, looked for various data in local/session/indexed/cookie and other storages, but it didn’t work out to compare all the information.

5c61125fdaef9353972157.png

So here are the questions for those who dealt with this:
Is there any possibility at all how to implement auto-subscription to the channel?
Maybe there is an API? (lol)
How, with what and what data is encrypted?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nvdfxx, 2019-02-11
@M4mkin_pr0ger

The link you provided most likely leads to the channel page, where the modal window asks - "would you like to subscribe?". This is standard anti-cheat protection. And it is unlikely that the YouTube API has a way to get around this.
P.S. how do you get the list of channels you want to subscribe to?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question