1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-18 06:57:24 +08:00

Investigating structure of npo.nl hyperlinks

This commit is contained in:
Jan Hoek 2017-03-27 20:42:36 +02:00
parent 3ff3fbaf70
commit d86a35ec35

13
testnpo.ps1 Normal file
View File

@ -0,0 +1,13 @@
Clear-host
$Urls = @{}
$Urls.Add('keuringsdienst', 'https://www.npo.nl/keuringsdienst-van-waarde/KN_1678993/search?category=broadcasts&page=1')
$Urls.Add('jinek', 'https://www.npo.nl/jinek/KN_1676589/search?media_type=broadcast&start=0&rows=8')
$Urls.Add('midsomer', 'https://www.npo.nl/midsomer-murders/POW_00828660/search?media_type=broadcast&start=0&rows=8')
$Urls.Add('pownews', 'https://www.npo.nl/pownews-flits/POW_03469040/search?category=broadcasts&page=1')
$Urls.GetEnumerator() | ForEach-Object {
Write-Host $_.Key
$response = Invoke-WebRequest -Uri ($_.Value) -UseBasicParsing -OutFile "~/Desktop/$($_.Key).txt"
}