Offer methods

domiporta.offer.get_gps_data(content)[source]

Parse latitude and longitude

Parameters:content – raw html
Returns:list with geographical coordinates or None if can’t find
Return type:list
domiporta.offer.get_meta_data(markup)[source]

Parse meta data

Parameters:markup – raw html
Returns:dictionary with data
Return type:dict
domiporta.offer.get_offer_data(url)[source]

Parse details about given offer

Parameters:url (str) – Url to offer web page
Returns:Details about given offer
Return type:dict