Getting started on video download script.
This commit is contained in:
parent
d47dbd0247
commit
c7339f230d
1 changed files with 14 additions and 0 deletions
14
dc-download-videos.plx
Executable file
14
dc-download-videos.plx
Executable 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;
|
Loading…
Add table
Reference in a new issue