Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- a/google.py
- +++ b/google.py
- @@ -70,5 +70,5 @@
- s = web.get(uri)
- for chunk in s.split('<img'):
- - if '/images/calc' in chunk:
- + if '/images/icons/onebox/calc' in chunk:
- m = r_googlecalc.search(chunk)
- if m: return text(m.group(1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement