microsoft / AzureTipsAndTricks

Learn some of our favorite Azure tips and tricks—some long-standing, and new ones that have recently been added to become more productive with Azure. Star the repo now to shave hours off your coding tasks tomorrow.
http://azuredev.tips
Creative Commons Attribution 4.0 International
1.49k stars 489 forks source link

Tip 128 not working for me (getting 404s) #79

Closed lestephane closed 4 years ago

lestephane commented 4 years ago

When I run the commad from https://microsoft.github.io/AzureTipsAndTricks/blog/tip128.html, I only get 404s. What am I missing? Is it supposed to still work?

$ curl https://api.github.com/repositories/72685026/contents/articles | jq -r '.[] | select(.type | contains("dir")) | "https://docs.microsoft.com/pdfstore/Azure.azure-documents/live/\(.name).pdf"' | wget -i -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  159k    0  159k    0     0  61886      0 --:--:--  0:00:02 --:--:-- 61907
--2020-04-05 15:48:39--  https://docs.microsoft.com/pdfstore/Azure.azure-documents/live/active-directory-b2c.pdf
Resolving docs.microsoft.com (docs.microsoft.com)... 92.123.151.23, 2a02:26f0:4:180::353e, 2a02:26f0:4:1a8::353e
Connecting to docs.microsoft.com (docs.microsoft.com)|92.123.151.23|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://opbuildstorageprod.blob.core.windows.net/output-pdf-files/Azure.azure-documents/live/active-directory-b2c.pdf [following]
--2020-04-05 15:48:41--  https://opbuildstorageprod.blob.core.windows.net/output-pdf-files/Azure.azure-documents/live/active-directory-b2c.pdf
Resolving opbuildstorageprod.blob.core.windows.net (opbuildstorageprod.blob.core.windows.net)... 40.112.152.16
Connecting to opbuildstorageprod.blob.core.windows.net (opbuildstorageprod.blob.core.windows.net)|40.112.152.16|:443... connected.
HTTP request sent, awaiting response... 404 The specified resource does not exist.
2020-04-05 15:48:43 ERROR 404: The specified resource does not exist..

--2020-04-05 15:48:43--  https://docs.microsoft.com/pdfstore/Azure.azure-documents/live/active-directory-domain-services.pdf
Connecting to docs.microsoft.com (docs.microsoft.com)|92.123.151.23|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://opbuildstorageprod.blob.core.windows.net/output-pdf-files/Azure.azure-documents/live/active-directory-domain-services.pdf [following]
--2020-04-05 15:48:44--  https://opbuildstorageprod.blob.core.windows.net/output-pdf-files/Azure.azure-documents/live/active-directory-domain-services.pdf
Connecting to opbuildstorageprod.blob.core.windows.net (opbuildstorageprod.blob.core.windows.net)|40.112.152.16|:443... connected.
HTTP request sent, awaiting response... 404 The specified resource does not exist.
2020-04-05 15:48:45 ERROR 404: The specified resource does not exist..

--2020-04-05 15:48:45--  https://docs.microsoft.com/pdfstore/Azure.azure-documents/live/active-directory.pdf
Connecting to docs.microsoft.com (docs.microsoft.com)|92.123.151.23|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://opbuildstorageprod.blob.core.windows.net/output-pdf-files/Azure.azure-documents/live/active-directory.pdf [following]
--2020-04-05 15:48:46--  https://opbuildstorageprod.blob.core.windows.net/output-pdf-files/Azure.azure-documents/live/active-directory.pdf
Connecting to opbuildstorageprod.blob.core.windows.net (opbuildstorageprod.blob.core.windows.net)|40.112.152.16|:443... connected.
HTTP request sent, awaiting response... 404 The specified resource does not exist.
2020-04-05 15:48:48 ERROR 404: The specified resource does not exist..

...
mbcrump commented 4 years ago

I couldn't get this to work either with a quick look. Going to add a flag that this tip is obsolete.