Skip to content
This repository has been archived by the owner on Apr 21, 2019. It is now read-only.

Commit

Permalink
Merge pull request #4 from 0xced/fix-theiphonewiki-scraping
Browse files Browse the repository at this point in the history
Fix scraping on theiphonewiki.com
  • Loading branch information
kennytm committed Feb 27, 2013
2 parents a8e1e94 + 686e886 commit 170bfae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ipsw_decrypt.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def parse_options():
'iPhone1,1': 'iPhone',
'iPhone1,2': 'iPhone 3G',
'iPhone2,1': 'iPhone 3GS',
'iPhone3,1': 'iPhone 4',
'iPhone3,1': 'iPhone 4 GSM',
'iPhone3,3': 'iPhone 4 CDMA',
'iPhone4,1': 'iPhone 4S',
'iPhone5,1': 'iPhone 5 GSM',
Expand Down Expand Up @@ -155,7 +155,7 @@ def get_decryption_info(plist_obj, output_dir, url=None):
print("<Error> {1}".format(url, e))
return None

headers = htmldoc.iterfind('//h3/span[@class="mw-headline"]')
headers = htmldoc.iterfind('//h2/span[@class="mw-headline"]')
key_map = {}
for tag in headers:
header_name = _parenthesis_sub('', tag.text_content()).strip().lower()
Expand Down

0 comments on commit 170bfae

Please sign in to comment.