Ejemplo n.º 1
0
def parse_gmap(match):
    return parse_google_map(match, None)
Ejemplo n.º 2
0
def parse_gmap(match):
    return parse_google_map(match, None)
Ejemplo 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])
Ejemplo 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])