![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 4 Pomógł: 0 Dołączył: 14.11.2006 Skąd: Skierniewice Ostrzeżenie: (0%) ![]() ![]() |
Pisze skrypt umożliwiający ściągniecie pliku z video.google.pl i niestety ale nei działa
![]() Kod <?php
if (isset($_GET{'url'})){ $url=$_GET{'url'}; $url=trim($url); if (strstr($_GET['url'],"video.google.pl")){ $data = @file_get_contents($_GET['url']); @preg_match('#/watch_fullscreen\?video_id=([a-z0-9-_]+)&l=([0-9]+)&t=([a-z0-9-_]+)#i', $data, $matches); if (ereg($matches[1], $_GET['url'])) { Header("Location: http://video.google.pl/get_video?video_id=$matches[1]&l=$matches[2]&t=$matches[3]"); } } } ?> |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 15 Pomógł: 0 Dołączył: 5.08.2007 Ostrzeżenie: (0%) ![]() ![]() |
Tu jest opis jak zrobić coś podobnego dla youtube w Perlu - może mechanizm jest podobny?
http://www.catonmat.net/blog/downloading-y...perl-one-liner/ |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 4.07.2025 - 20:32 |