Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Update lib/PicBot.pm #4

Merged
merged 1 commit into from over 2 years ago

2 participants

Ryan Voots Ian Kilgore
Ryan Voots

Adds https url capturing.

Ian Kilgore iank merged commit 3d92a64 into from
Ian Kilgore iank closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Nov 11, 2011
Ryan Voots simcop2387 Update lib/PicBot.pm d1e208b
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/PicBot.pm
2  lib/PicBot.pm
@@ -188,7 +188,7 @@ sub capture_img {
188 188 my $db = $robit->heap->{db};
189 189 my $ua = $robit->heap->{ua};
190 190
191   - if ($args->{what} =~ m!(http://\S+\.(?:$extensions))(?:\s|$)!i) {
  191 + if ($args->{what} =~ m!(https?://\S+\.(?:$extensions))(?:\s|$)!i) {
192 192 my $url = $1;
193 193 my $r = $ua->head($url);
194 194 if ($r->is_success) {

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.