News for hackers. Stuff that matters.
Re:Ask HN: Why is YouTube adding “&pp=sAQA” to video URLs? by coldpie on Friday July 30, 2021 @09:40AM (#28007824)
What? Look at the URL in your browser right now. It has a bunch of x=y parameters. That's how URLs work.
Re:Ask HN: Why is YouTube adding “&pp=sAQA” to video URLs? by Sophira on Friday July 30, 2021 @04:12PM (#28011880)
The parent comment is talking about what would happen if, for example, you typed this in bash to try to download a video:

$ youtube-dl https://www.youtube.com/watch?v=dQw4w9WgXcQ&pp=sAQA

In this case, bash would interpret it as "run youtube-dl in the background with the parameter 'https://www.youtube.com/watch?v=dQw4w9WgXcQ', then execute the command 'pp=sAQA' to set the 'pp' variable".

The comment is joking that if YouTube decided to replace "pp=sAWA" with "reboot", they could get a lot of people to accidentally reboot their machines instead because they didn't quote the URL.

Re:Ask HN: Why is YouTube adding “&pp=sAQA” to video URLs? by chrisseaton on Friday July 30, 2021 @08:28PM (#28014043)
That was always a problem if you just copy-and-pasted URLs into your terminal. You need to quote them. It's not new.
Re:Ask HN: Why is YouTube adding “&pp=sAQA” to video URLs? by villgax on Saturday July 31, 2021 @01:58AM (#28015674)
It used to work in bash but doesn't in zsh