Wetlook World ForumCurrent time: Thu 25/04/24 16:22:26 GMT |
Message # 60116.1.1.1 Subject: Re:Another option? Date: Thu 26/12/13 16:08:09 GMT Name: wetsweatshirt |
Report Abuse or Problem to Nigel at Minxmovies
|
The powershell is brilliant! thanks very much, but it produces a list, and I don;t know what to do to the list then?
the only thing I can see, as there's no right click/open option for each result, is to select one, and then click ok. But it seems to close the shell as a result...
Is there an easy way to say, right click and open on each result or something?
thanks! |
In reply to Message (60116.1.1) Re:Another option?
By WetlookerJr - swim.in.clothes@hotmail.com Thu 26/12/13 01:43:38 GMT Yeah, that looks pretty easy too. The PowerShell method could be furthered to go auto-download each video at scheduled intervals, but then I spose you'd end up with a bunch of junk you didn't want :). OK my method is pretty geeky, but I think it's still slick. :) |
In reply to Message (60116.1) Another option?
By pt0x - Wed 25/12/13 22:10:52 GMT Maybe there is another option for XP users just to use this link to any web browser, am I right?
http://www.youtube.com/results?search_sort=video_date_uploaded&search_query=pool+clothed |
In reply to Message (60116) Cool way to search YouTube
By SwimInClothes - swim.in.clothes@hotmail.com Wed 25/12/13 17:04:13 GMT Being in the IT field, I thought it would be cool to put together a PowerShell script to find YouTube videos with ease. If you have a PC that runs Windows, you too can run PowerShell scripts. Here is a screenshot of what it looks like. All you have to do to change the keywords is change the first line to whatever keywords you want to search for.
Below is the script. In Windows 7 or 8 just save it as a .ps1 file, and then you can right-click it and say "Open with PowerShell". Or you can click start, and type PowerShell, and then just run it like this: c:\dirname\filename.ps1. You may need to first run a "set-executionpolicy bypass" first.
I know it's a bit geeky but hopefully someone finds it helpful. If you have any questions e-mail me and i'll try to help.
$keyword = "Pool Clothed" Invoke-RestMethod -Uri "https://gdata.youtube.com/feeds/api/videos?v=2&max-results=50&SafeSearch=none&q=$($keyword.Replace(' ','+'))" | Select-Object -Property Title, @{N='Author';E={$_.Author.Name}}, @{N='Link';E={$_.Content.src}}, @{N='Updated';E={[DateTime]$_.Updated}} | Sort-Object -Property Updated -Descending | Out-GridView -Title "Select your '$Keyword' video, then click OK to view." -PassThru | ForEach-Object { Start-Process $_.Link }
|
Report Abuse or Problem to Nigel at Minxmovies
If you enjoy this forum, then please make a small donation to help with running costs:
(you can change amount)
|
[ This page took 0.037 seconds to generate ]