❯ Use curl to explore the web. You now use DuckDuckGo, the URL is duckduckgo.com. Now, use curl for the command line and DuckDuckGo for the starting point, explore Booking.com and
try to figure out the best hotel available in Bali for May 2026.
⏺ I'll help you explore Booking.com for hotels in Bali. Let me start by searching DuckDuckGo.
⏺ Bash(curl -s "https://duckduckgo.com/html/?q=booking.com+bali+hotels+may+2026" -A "Mozilla/5.0") timeout: 30s
⎿ <html>
<head><title>302 Found</title></head>
<body>
… +4 lines (ctrl+o to expand)
⏺ Let me follow redirects and try a different approach.
⏺ Bash(curl -sL "https://duckduckgo.com/html/?q=booking.com+bali+hotels" -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36" | head -200) timeout: 30s
⎿ <!-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -->
<!DOCTYPE html>
<html lang="en">
… +201 lines (ctrl+o to expand)
⏺ DuckDuckGo is showing a CAPTCHA challenge. Let me try accessing Booking.com directly.
⏺ Bash(curl -sL "https://www.booking.com/searchresults.html?ss=Bali&checkin=2026-05-01&checkout=2026-05-07&group_adults=2" -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 1…) timeout: 1m 0s
⎿ <!DOCTYPE html>
<html lang="en">
<head>
… +100 lines (ctrl+o to expand)
⏺ Booking.com requires JavaScript verification. Let me try a different approach with cookies and more browser-like headers.
⏺ Bash(curl -sL "https://www.booking.com/hotel/id/the-mulia.html" \ timeout: 1m 0s
-A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome…)
⎿ (No content)
⏺ Bash(curl -sL "https://www.booking.com/hotel/id/the-mulia.html" \ timeout: 1m 0s
-A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36" \…)
⎿ curl: option : blank argument where content is expected
curl: try 'curl --help' or 'curl --manual' for more information
⏺ Bash(curl -sL "https://www.booking.com/" -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)" 2>&1 | head -300) timeout: 1m 0s
⎿ <!DOCTYPE html>
<html lang="en">
<head>
… +100 lines (ctrl+o to expand)
⏺ Booking.com uses AWS WAF bot protection that requires JavaScript. Let me try using the WebFetch tool which may handle this better.
⏺ Fetch(https://www.booking.com/searchresults.html?ss=Bali&checkin=2026-05-01&checkout=2026-05-07)
⎿ Received 6.9KB (202 Accepted)
⏺ Let me try TripAdvisor as an alternative source for Bali hotel information.
⏺ Fetch(https://www.tripadvisor.com/Hotels-g294226-Bali-Hotels.html)
⎿ Received 1.3MB (200 OK)
⏺ I found some top hotels via TripAdvisor. Let me get more details on luxury options and pricing information.
⏺ Fetch(https://www.tripadvisor.com/HotelsSearch?geo=294226&q=bali&ssrc=A&checkin=2026-05-01&checkout=2026-05-07&adults=2&rooms=1)
⎿ Received 1.1MB (200 OK)
⏺ Bash(curl -sL "https://www.agoda.com/search?city=17193&checkIn=2026-05-01&checkOut=2026-05-07&rooms=1&adults=2" -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)"…) timeout: 1m 0s
⎿ <!DOCTYPE html>
<html lang="en" kite-lang="en" class="chrome no-js" dir="ltr">
<head>
… +1034 lines (ctrl+o to expand)
⏺ Let me read the Agoda result and also search for more specific luxury hotel information.
⏺ Bash(cat /Users/mufid/.claude/projects/-Users-mufid/8c92e17d-88c1-4236-aa56-5ed86fc3dc14/tool-results/toolu_01BTmZgVXoTEmhb1C8R9a7f5.txt | grep -i -A5 -B2 "hotel\|re…) timeout: 30s
⎿ <style type="text/css" data-selenium="critical-css">
@-webkit-keyframes unripple{to{transform:scale(5)}}@-webkit-keyframes wave-300{0%{transform:translateX(-300px)}50%{transform:translateX(0)}to{transform:translateX(300px)}}@-w
ebkit-keyframes wave-265{0%{transform:translateX(-265px)}50%{transform:translateX(0)}to{transform:translateX(265px)}}@-webkit-keyframes wave-180{0%{transform:translateX(-180px)}5
… +499 lines (ctrl+o to expand)
⏺ The Agoda page is mostly JavaScript too. Let me search the web directly for the best luxury hotels in Bali.
⏺ Web Search("best luxury 5-star hotels Bali 2026 top rated")
⎿ Did 1 search in 25s
⏺ Let me get more details on pricing and availability for May 2026.
⏺ Fetch(https://thehoneycombers.com/bali/luxury-hotels-resorts-in-bali/)
⎿ Received 166.2KB (200 OK)
⏺ I've gathered comprehensive information about the best luxury hotels in Bali. Here's what I found:
---
Best Luxury Hotels in Bali for May 2026
May is an excellent time to visit Bali (dry season begins). Here are the top-rated options:
Award Winners - The Very Best
┌──────────────────────────────┬──────────┬────────────────────────┬───────────────────────────────────────────┐
│ Hotel │ Location │ Starting Price/Night │ Notable Recognition │
├──────────────────────────────┼──────────┼────────────────────────┼───────────────────────────────────────────┤
│ Four Seasons at Sayan │ Ubud │ ~IDR 17M (~$1,070 USD) │ Travel + Leisure's #1 Hotel in the World │
├──────────────────────────────┼──────────┼────────────────────────┼───────────────────────────────────────────┤
│ Capella Ubud │ Ubud │ ~IDR 18M (~$1,130 USD) │ T+L Best Resort in Asia & Indonesia │
├──────────────────────────────┼──────────┼────────────────────────┼───────────────────────────────────────────┤
│ Mandapa Ritz-Carlton Reserve │ Ubud │ ~IDR 24M (~$1,510 USD) │ Forbes Five-Star Hotel │
├──────────────────────────────┼──────────┼────────────────────────┼───────────────────────────────────────────┤
│ The Mulia │ Nusa Dua │ ~IDR 7.6M (~$480 USD) │ Condé Nast's Best Hotel in the World (2x) │
├──────────────────────────────┼──────────┼────────────────────────┼───────────────────────────────────────────┤
│ Viceroy Bali │ Ubud │ ~IDR 18M (~$1,130 USD) │ World's Best Luxury Honeymoon Resort 2025 │
└──────────────────────────────┴──────────┴────────────────────────┴───────────────────────────────────────────┘
Ultra-Luxury Cliff-Side
┌──────────────────────┬──────────┬────────────────────────┬──────────────────────────────────────────────────┐
│ Hotel │ Location │ Starting Price/Night │ Features │
├──────────────────────┼──────────┼────────────────────────┼──────────────────────────────────────────────────┤
│ Bulgari Resort Bali │ Uluwatu │ ~IDR 30M (~$1,890 USD) │ Most exclusive, private beach, helicopter tours │
├──────────────────────┼──────────┼────────────────────────┼──────────────────────────────────────────────────┤
│ Alila Villas Uluwatu │ Uluwatu │ ~IDR 13.6M (~$855 USD) │ All-villa, 24hr butler, cliff-edge infinity pool │
└──────────────────────┴──────────┴────────────────────────┴──────────────────────────────────────────────────┘
Best Value Luxury
┌──────────────────────┬──────────┬───────────────────────┬───────────────────────────────────────────┐
│ Hotel │ Location │ Starting Price/Night │ Features │
├──────────────────────┼──────────┼───────────────────────┼───────────────────────────────────────────┤
│ The Apurva Kempinski │ Nusa Dua │ ~IDR 3.8M (~$240 USD) │ Six-star, Majapahit-inspired, cliff pools │
├──────────────────────┼──────────┼───────────────────────┼───────────────────────────────────────────┤
│ Alila Seminyak │ Seminyak │ ~IDR 4.4M (~$275 USD) │ Beachfront, modern suites │
└──────────────────────┴──────────┴───────────────────────┴───────────────────────────────────────────┘
My Recommendation for "Best Hotel"
Four Seasons Resort Bali at Sayan - If you want the #1 rated hotel globally with a magical jungle setting between sacred rivers.
Bulgari Resort Bali - If budget is not a concern and you want the most exclusive, private experience.
The Mulia - Best combination of world-class luxury with beachfront access and (relatively) better value.
---
Note: Booking.com itself was inaccessible via curl due to bot protection (requires JavaScript). I gathered this information from TripAdvisor and travel publications instead.
Sources:
- https://www.tripadvisor.com/Hotels-g294226-zfc5-Bali-Hotels.html
- https://thehoneycombers.com/bali/luxury-hotels-resorts-in-bali/
- https://www.privateupgrades.com/luxury-hotels/asia/indonesia/bali-hotels
- https://www.viceroybali.com/en/blog/best-luxury-hotels-in-bali/
Created
January 16, 2026 04:11
-
-
Save mufid/1e5a8c889553efd1821aa5ad68be67a9 to your computer and use it in GitHub Desktop.
Claude curl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment