nomadweb/scripts/check_book_html.py
eric ff7b721acb feat: NomadCNA community layer, social matching, payments, and ebook
Port meetups, discussions, gigs, dating/chat, VIP pay (ZPay/XorPay), MiroTalk live, digital academy, and ebook reader. Add persistent community_store, git-first deploy docs, and env template for production secrets.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 09:38:13 -05:00

14 lines
630 B
Python

import urllib.request
html = urllib.request.urlopen("https://nomadweb.nomadro.com/book", timeout=30).read().decode("utf-8", "replace")
print("ebook-site-bar", "ebook-site-bar" in html)
print("ebook-section", "ebook-section" in html)
print("viral-cover-content", "viral-cover-content" in html)
print("navbar id", 'id="navbar"' in html)
print("scroll-reveal", "scroll-reveal" in html)
print("viral-title", "viral-title" in html)
# find title text
idx = html.find("viral-title")
print("snippet", html[idx:idx+200] if idx>=0 else "none")
idx2 = html.find("ebook-site")
print("bar snippet", html[idx2:idx2+300] if idx2>=0 else "none")