airbnb-search-listing
Skill này làm gì
Skill giải thích cách đọc các tin đăng hiển thị trên trang tìm kiếm Airbnb và cách chuyển qua các trang. Dành cho khách du lịch so sánh lựa chọn và nhà phân tích nghiên cứu thị trường cho thuê ngắn hạn.
Khi nào nên dùng
- ✓Khi ai đó muốn danh sách chỗ ở Airbnb cho một điểm đến kèm giá và đánh giá.
- ✓Khi nhà phân tích muốn kết quả tin đăng của một thành phố để nghiên cứu thị trường cho thuê.
- ✓Khi người dùng cần trang kết quả tìm kiếm Airbnb tiếp theo.
Liên kết skill
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/airbnb-search-listing/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tìm các chỗ ở Airbnb ở Lisbon hiển thị trên trang tìm kiếm, kèm giá và đánh giá.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill mở trang tìm kiếm trong trình duyệt, đọc kết quả được nhúng trong trang, rồi liệt kê từng kết quả với ID, tên, vị trí, đánh giá, giá và huy hiệu. Nó cũng trả về con trỏ cho trang kế tiếp.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Airbnb — Search Listing Extraction
Navigate to Airbnb search URL → extract listing results from SSR-embedded data
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Extract accommodation listing results from an Airbnb search page using SSR-embedded niobeClientData JSON.
Prerequisites
- Target search page is already open in the browser:
https://www.airbnb.com/s/{destination}/homes - No login required — search results are publicly accessible
Pre-execution Checks
1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
Capability Components
This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. JS code is encapsulated in Python files under the
scripts/directory, invoked viaeval "$(python scripts/xxx.py {params})".$(...)is bash syntax; it is recommended to use the bash tool for execution.
DOM: extract search results (SSR niobeClientData)
Navigate to the search URL first, wait for the page to load, then run:
eval "$(python scripts/search-listing.py)"
URL construction pattern:
https://www.airbnb.com/s/{destination}/homes?checkin={YYYY-MM-DD}&checkout={YYYY-MM-DD}&adults={N}&children={N}&infants={N}&pets={N}&price_min={N}&price_max={N}&min_beds={N}&min_bedrooms={N}&min_bathrooms={N}&cursor={base64_cursor}
All URL parameters are optional except destination. Omit any parameter to use the Airbnb default.
Full invocation sequence:
navigate https://www.airbnb.com/s/{destination}/homes?{params}wait stableeval "$(python scripts/search-listing.py)"
Output example:
{
"items": [
{
"id": "5476930",
"url": "https://www.airbnb.com/rooms/5476930",
"name": "Bright Studio in Notting Hill",
"lat": 51.5101,
"lng": -0.1949,
"rating": "4.85",
"title": "Entire studio in London",
"price_total": "$120 total",
"price_qualifier": "before taxes",
"photos": ["https://a0.muscache.com/im/pictures/...jpeg"],
"badges": ["Guest favorite"]
}
],
"count": 18,
"total_pages": 13,
"cursors": ["eyJzZWN0aW9uX29mZnNldCI6MCwiaXRlbXNfb2Zmc2V0IjoxOCwidmVyc2lvbiI6MX0="]
}
Error handling: If error: true is returned, verify the current page is an Airbnb search results page (URL contains /s/ and /homes), then retry once after wait stable. If niobeClientData is not found, the page may still be loading — wait and retry.
Pagination
URL Pagination: URL pattern https://www.airbnb.com/s/{destination}/homes?{filters}&cursor={cursor}. Each page returns a cursors array where cursors[0] is the current page, cursors[1] is page 2, cursors[2] is page 3, etc. total_pages equals the length of cursors. Termination: index >= total_pages OR count is 0.
Paginate by taking the cursor from the previous result and navigating:
- First page: navigate without cursor; extract
cursorsarray from result - Page 2:
navigate https://www.airbnb.com/s/{destination}/homes?{filters}&cursor={cursors[1]} wait stableeval "$(python scripts/search-listing.py)"- Page N: use
cursors[N-1]from the original page-1cursorsarray - Stop when page index >= total_pages or count is 0
Success Criteria
count >= 1 AND items[0].id is not null AND items[0].url is not null
Known Limitations
- Returns up to 18 listings per page (Airbnb's default page size)
- Maximum ~240 results total across all pages (Airbnb's search cap)
ratingmay be null for new listings with no reviewsprice_totalis null when no dates are specified in search
Execution Efficiency
- Batch orchestration: Write a bash script to loop through cursors serially; do not parallelize within one browser session
- Test before batch execution: After writing a batch script, test with 1-2 pages before running full pagination
- Error resumption: Save results page by page; resume from the last successful page on failure
Experience Notes
Path: {working-directory}/browser-act-skill-forge-memories/airbnb-scraper-airbnb-search-listing.memory.md
Before execution: If the file exists, read it first — i
Câu hỏi thường gặp
Có cần đăng nhập không?
Không. Skill nói kết quả tìm kiếm có thể truy cập công khai.
Có lấy được nhiều hơn một trang không?
Có. Nó trả về thông tin phân trang để có thể yêu cầu trang tiếp theo.
Mỗi kết quả gồm những gì?
Mỗi kết quả gồm ID tin đăng, URL, tên, tọa độ, đánh giá, giá, ảnh và huy hiệu.
Chi tiết
Mô tả gốc của tác giả
Extracts Airbnb accommodation search results from a destination query via SSR-embedded data, returning listing ID, URL, name, coordinates, rating, price, photos, and badge info for each result, plus pagination cursors for multi-page retrieval. Use when user mentions Airbnb search results, Airbnb listings, vacation rental search, short-term rental listings, scrape Airbnb, get Airbnb data, find rentals on Airbnb, Airbnb destination search, Airbnb property list, Airbnb stays search, Airbnb accommodation results, pull Airbnb listings, collect Airbnb search data, Airbnb scraper, Airbnb search page
repo: browser-act/skills
Độ phổ biến
- Sao GitHub
- 6.3k
- Vị trí xếp hạng
- #14248
- Giấy phép
- MIT
- Cập nhật
- 24/8/2026
Bình luận
- …
Thêm skill từ kho mã này
browser-act-skill-forge
6.3kGiúp agent của bạn khám phá một website một lần rồi lưu thành một skill tái sử dụng với các script, để lấy dữ liệu từ site đó sau này nhanh hơn.
browser-act
6.3kGiúp agent của bạn chạy công cụ tự động hóa trình duyệt để mở trang, đọc nội dung đã render, điền biểu mẫu, chụp ảnh màn hình và quản lý phiên đã đăng nhập.
1688-product-detail
6.3kGiúp agent của bạn lấy chi tiết sản phẩm từ một trang bán buôn 1688.com, như bậc giá, biến thể, thống kê người bán và thuộc tính.
airbnb-listing-detail
6.3kGiúp agent của bạn lấy chi tiết công khai của một tin đăng Airbnb theo ID, như ảnh, tiện nghi, đánh giá và nội quy nhà.
Skill tương tự
tavily
394kGiúp agent của bạn tìm kiếm web bằng Tavily và lấy văn bản từ các trang cụ thể, với tùy chọn về độ sâu, tên miền và ngày tháng.
blogwatcher
394kCho phép agent của bạn theo dõi blog và nguồn cấp RSS hoặc Atom, kiểm tra bài viết mới và đánh dấu những bài bạn đã đọc.
data-scraper-agent
280kGiúp agent tự động thu thập dữ liệu từ mọi nguồn công khai. Có thể lên lịch, bổ sung thông tin và lưu kết quả. Hữu ích để theo dõi dữ liệu trực tuyến.