Esempio n. 1
0
def parse_gmap(match):
    return parse_google_map(match, None)
Esempio n. 2
0
def parse_gmap(match):
    return parse_google_map(match, None)
Esempio n. 3
0
def lon(xpath):
    """Extract the longitude from an XPath to a Google Map."""

    return Extractor(xpath=xpath, fn=lambda matches, response:
                     parse_google_map(matches[0], None)[1])
Esempio n. 4
0
def lon(xpath):
    """Extract the longitude from an XPath to a Google Map."""

    return Extractor(
        xpath=xpath,
        fn=lambda matches, response: parse_google_map(matches[0], None)[1])