mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-28 10:11:29 +08:00
Investigating structure of npo.nl hyperlinks
This commit is contained in:
parent
3ff3fbaf70
commit
d86a35ec35
13
testnpo.ps1
Normal file
13
testnpo.ps1
Normal 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"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user