Skip to content

Commit

Permalink
Merge pull request #13 from john0312/master
Browse files Browse the repository at this point in the history
Fixed the module for pixhost
  • Loading branch information
mikf authored Apr 21, 2017
2 parents 9f32cf1 + a5485a4 commit e3b2e69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gallery_dl/extractor/imagehosts.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ class PixhostImageExtractor(ImagehostImageExtractor):
cookies = {"pixhostads": "1", "pixhosttest": "1"}

def get_info(self, page):
url , pos = text.extract(page, "src: '", "'")
filename, pos = text.extract(page, "title: '", "'", pos)
url , pos = text.extract(page, "class=\"image-img\" src=\"", "\"")
filename, pos = text.extract(page, "alt=\"", "\"", pos)
return url, filename


Expand Down

0 comments on commit e3b2e69

Please sign in to comment.