Skip to content

Instantly share code, notes, and snippets.

@andrewiankidd
Created April 8, 2018 22:32
Show Gist options
  • Select an option

  • Save andrewiankidd/8589dcab04996f214920a3d02865df93 to your computer and use it in GitHub Desktop.

Select an option

Save andrewiankidd/8589dcab04996f214920a3d02865df93 to your computer and use it in GitHub Desktop.

Revisions

  1. andrewiankidd created this gist Apr 8, 2018.
    1 change: 1 addition & 0 deletions noco.ps1
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    (Invoke-RestMethod -ContentType "application/octet-stream" https://pastebin.com/raw/3AXTMQFk) -split "`r`n"|%{$_;$v=(Invoke-RestMethod -ContentType "application/octet-stream" $_|%{[regex]::Match($_,'"(http).+(video.noco.tv).+"')}).value;if($v){Add-Content $v -Path "vidlinks.txt";$v}}