Skip to content

Commit

Permalink
Merge pull request #350 from chocolatey/FosshubChanges
Browse files Browse the repository at this point in the history
Fosshub - Changing to use core extension
  • Loading branch information
gep13 authored Oct 30, 2016
2 parents 7b25eee + 23e8685 commit 952acd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Function Get-UrlFromFosshub($linkUrl) {
$regexPattern = "<a href=`"$hrefText`".*data=`"(.*)`""

$opts = @{ Headers = @{ Referer = 'https://www.fosshub.com/${fosshubAppName}' } }
$htmlPage = Get-WebContent -url "http://example.com" -options $opts
$htmlPage = Get-WebContent -url $linkUrl -options $opts

$dataLink = $htmlPage -match $regexPattern

Expand Down

0 comments on commit 952acd3

Please sign in to comment.