Skip to content

Add BookMyShow adapter#12

Open
ankitranjan7 wants to merge 2 commits into
mainfrom
add-bookmyshow-adapter
Open

Add BookMyShow adapter#12
ankitranjan7 wants to merge 2 commits into
mainfrom
add-bookmyshow-adapter

Conversation

@ankitranjan7

Copy link
Copy Markdown

Summary

  • Add BookMyShow browser adapter for Indian movies, events, cinemas, and showtimes.
  • Use visible UI extraction because BookMyShow is Cloudflare/browser-session gated and the listing data is visible on page.
  • Add focused adapter tests and regenerate the CLI manifest.

Commands added

  • bookmyshow movies --city <city> --limit <n> - movies currently shown for a BookMyShow city.
  • bookmyshow events --city <city> --limit <n> - events listed for a city, including venue/category/price text.
  • bookmyshow cinemas --city <city> --limit <n> - cinemas and addresses for a city.
  • bookmyshow shows <movie> --city <city> --date <YYYYMMDD> --limit <n> - movie showtimes by title, event code, or movie URL.

Verification

  • npm run test:adapter -- clis/bookmyshow/bookmyshow.test.js
  • npm run build-manifest
  • npm run check:silent-column-drop
  • npm run check:typed-error-lint
  • node dist/src/main.js browser bookmyshow-live verify bookmyshow/movies --strict-memory --trace retain-on-failure
  • node dist/src/main.js browser bookmyshow-live verify bookmyshow/events --strict-memory --trace retain-on-failure
  • node dist/src/main.js browser bookmyshow-live verify bookmyshow/cinemas --strict-memory --trace retain-on-failure
  • node dist/src/main.js browser bookmyshow-live verify bookmyshow/shows --strict-memory --trace retain-on-failure
  • npm test
  • npm run typecheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant