Getting started on video download script.

This commit is contained in:
Bradley M. Kuhn 2014-08-14 16:26:45 -04:00
parent d47dbd0247
commit c7339f230d

14
dc-download-videos.plx Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/perl
use strict;
use warnings;
use WWW::Mechanize;
use HTTP::Cookies;
my $mech = WWW::Mechanize->new(
autocheck => 1,
cookie_jar => HTTP::Cookies->new( file => "$ENV{HOME}/Crypt/Poker/dc-cookies.txt"));
$mech->get("http://www.deucescracked.com/dashboard");
print $mech->content;