I've recently tried to create a flow which pulls info from youtube music.
Initially I tried to use the http request block and set the user-agent to "Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36". However, the result is that Youtube music replies that "Your browser is deprecated. Please upgrade."
I found that when I used curl (via the shell command block) I can get the correct results.
The code i'm using is below:
```
curl -H "User-Agent: Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36" "
http://music.youtube.com"
```
However, most Android OS won't have curl in their shell commands (only busybox or some terminal tools are installed).
Hence, two questions here.
1. Why does the http request block do not give the correct result even with a user-agent? what am i missing?
2. What is the difference between the shell curl command and the http request block?
I would like to use the http request block if possible, otherwise the flow I created is quite restrictive.