Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: MediaWiki::API->upload() problem

by spekulum (Initiate)
on Sep 27, 2011 at 20:10 UTC ( #928170=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $response = $response->content() if($response->is_success());
    die Dumper($response);
    
  2. or download this
    $ perl test.pl
    $VAR1 = '▒PNG
    
    ...
                        ▒a cHRMz&▒▒▒▒▒
    +u0&#9618;`:&#9618;p&#9618;&#9618;Q<!IDATWc&#9618;
    &#9618;*1&#9618;&#9618;Ig&#9618;
    &#9618;&#9618;&#9618;+(&#9618;&#9618;K&#9618;&&#1432;IEND&#9618;B`&#96
    +18;';
    
  3. or download this
    $response = $response->decoded_content() if($response->is_success());
    die Dumper($response);
    
  4. or download this
    $ perl test.pl
    $VAR1 = '&#9618;PNG
    
    ...
                        &#9618;a cHRMz&&#9618;&#9618;&#9618;&#9618;&#9618;
    +u0&#9618;`:&#9618;p&#9618;&#9618;Q<!IDATWc&#9618;
    &#9618;*1&#9618;&#9618;Ig&#9618;
    &#9618;&#9618;&#9618;+(&#9618;&#9618;K&#9618;&&#1432;IEND&#9618;B`&#96
    +18;';
    
  5. or download this
    $response = $response->content() if($response->is_success());
    $response = utf8::downgrade($response);
    die Dumper($response);
    
  6. or download this
    $ perl test.pl
    $VAR1 = 1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928170]
help
Chatterbox?
[Corion]: I think I'm overdesigning things again. I want to export(later, synchronize) data from Google Keep, by scraping the HTML. And I'm thinking of automating this by having a canary note whose text my program knows and from which it can determine the ...
[Corion]: ... surrounding HTML to scrape all the other notes. Maybe I should better look at dumping all the requests that pass between Google and my "browser" instead.
[choroba]: The older one will even perform twice, once at a retirement home, and then at the music school. It's a day off, but will be pretty busy...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2017-12-12 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (327 votes). Check out past polls.

    Notices?