Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Dear DNS323 users,
I am looking for a script to download my tv recordings from save.tv. Save.tv is a programmable online video recorder service for german TV channels (accessed via html web interface).
Maybe its possible to write a pearl script that logs in and downloads all currently available files (that are not yet downloaded)?
Any ideas how to do it ( http://www.save.tv ) ?
Cheers, Thomas
Last edited by thomasO (2009-05-15 00:39:47)
Offline
now i start to reply to myself
I found a script that may does the trick. But curl is not available on the fun plug packages.. so what can i do?
i attached the script (see corrected script below)
Last edited by thomasO (2009-05-18 19:55:15)
Offline
You can get curl from KyleK: http://dns323.kood.org/forum/viewtopic. … 19&p=1
and the GNU version of wget from Uli: http://ffp.wolf-u.li/additional/net-misc/
However, my php package doesn't have curl support, so your script still won't work.
PS: It seems, Uli has everything you need. He has made an updated php with curl support:
http://ffp.wolf-u.li/additional/net-mis … 19.4-1.tgz
http://ffp.wolf-u.li/additional/net-mis … 11.4-2.tgz
http://ffp.wolf-u.li/additional/dev-lan … .2.9-1.tgz
You also need to fix the script. The following line won't work:
exec("/usr/local/bin/php4 -q /data/save.tv/bin/savetv.php >/dev/nul &");
Last edited by fonz (2009-05-15 13:59:22)
Offline
Hmmm... i installed all 3 progs. but curl is still not working:
/mnt/HD_a2/save.tv # php --version
PHP 5.2.9 (cli) (built: Feb 27 2009 23:12:44)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
/mnt/HD_a2/save.tv # php savetv.php
Fatal error: Call to undefined function curl_init() in /mnt/HD_a2/save.tv/savetv
.php on line 23
Offline
thomasO wrote:
Fatal error: Call to undefined function curl_init() in /mnt/HD_a2/save.tv/savetv
I checked Uli's package, and indeed, php --info doesn't list --with-curl. So I've added curl and recompiled php myself:
http://www.inreto.de/dns323/fun-plug/0. … .html#curl
http://www.inreto.de/dns323/fun-plug/0. … S.html#php
Remove Uli's packages before installing these:
funpkg -r curl php
Offline
wget doesnt work
/mnt/HD_a2/save.tv # php savetv.php
der Download der Datei Wir_sind_Kaiser (Spielzeit:20090514_0029) wird gestartet,
Dude!
/mnt/HD_a2/save.tv # wget: can't resolve symbol 'clock_getres'
ideas?
Last edited by thomasO (2009-05-18 19:48:08)
Offline
download works.
thanks! :-)
you need:
- curl
- php with curl support
- uclibc
you get it from fonz: http://www.inreto.de/dns323/fun-plug/0.5/PACKAGES.html
And you need the attached script (change username/password and change the path according to your setup)
Last edited by thomasO (2010-03-27 00:09:33)
Offline
update - save.tv changed a path and a form ID
Last edited by thomasO (2010-03-27 13:47:42)
Offline
save.tv changed again the interface. I dont know how to adapt.
Offline