You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had good success using this library so far, simply running a survey over a bounding box.
I wanted to dive into the code, to see whether I could understand it and potentially extract different information from listings. However, I having trouble running the process on one property, so that I can experiment.
Below I've outlined the code that I am attempting to run, it returns a "Room 834190: found" message, but fails to extract any information (e.g. the price printed below returns None). Via debug print statements, I can also see that the website is returning an html response. But searching the HTML manually, I can't find the price, (e.g. CTRL-F for '140' in the case of the property listed below).
I'm sure I am misunderstanding something very simple! If anyone could provide any help, that would be fantastic.
from airbnb_listing import ABListing
from airbnb_config import ABConfig
config = ABConfig()
x = ABListing(config=config, room_id=834190, survey_id=None)
y = x.get_room_info_from_web_site(config.FLAGS_PRINT)
print(x.price)
The text was updated successfully, but these errors were encountered:
I've had good success using this library so far, simply running a survey over a bounding box.
I wanted to dive into the code, to see whether I could understand it and potentially extract different information from listings. However, I having trouble running the process on one property, so that I can experiment.
Below I've outlined the code that I am attempting to run, it returns a "Room 834190: found" message, but fails to extract any information (e.g. the price printed below returns None). Via debug print statements, I can also see that the website is returning an html response. But searching the HTML manually, I can't find the price, (e.g. CTRL-F for '140' in the case of the property listed below).
I'm sure I am misunderstanding something very simple! If anyone could provide any help, that would be fantastic.
The text was updated successfully, but these errors were encountered: