Skip to content

Commit

Permalink
confirm_url now includes the region
Browse files Browse the repository at this point in the history
Fixes #5. Thanks to @adamgoucher.
  • Loading branch information
jdub committed Oct 3, 2017
1 parent 8c00f59 commit 356c3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acm.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
logging.basicConfig(level=logging.DEBUG)
mechlog.setLevel(logging.DEBUG)

confirm_url = re.compile("https://certificates.amazon.com/approvals\?[A-Za-z0-9=&-]+")
confirm_url = re.compile("https://.*\.certificates.amazon.com/approvals\?[A-Za-z0-9=&-]+")
approval_text = re.compile("You have approved")

domain_re = re.compile(".*<b>Domain name</b>.*?<td class='right-column'>\s+(.*?)\s.*", re.DOTALL)
Expand Down

0 comments on commit 356c3bd

Please sign in to comment.