Priceflix - Movie Ticket Price Comparison This project, Priceflix, is a web application designed to help users find the cheapest movie tickets by comparing ticket prices for various movie showtimes. The current version is focused on scraping real-time ticket prices from AMC Theatres using web scraping techniques and dynamically updating the data every five minutes.
Key Features: Web Scraping: The application extracts data from AMC Theatres' website, including movie showtimes, ticket prices, and available discounts. We use xpaths for precise scraping of this data. Dynamic Data Updates: The ticket price and showtime data is refreshed every five minutes through a while loop to ensure users always see the latest information. Data Storage: Scraped movie showtimes and ticket prices are stored in a file that is continuously updated. This allows the application to provide accurate, up-to-date ticket pricing information. Custom Webpage: The application includes a custom-built webpage that pulls from the stored data file and presents it in an easy-to-read format. This web interface allows users to browse current ticket prices and identify the cheapest option for their preferred movie. API Integration (Future Feature): While the MVP uses web scraping, future versions will integrate with official movie ticket APIs for even faster and more accurate data retrieval. Potential APIs include AMC Theatres API, Fandango, or Atom Tickets. Project Structure: Data Collection: Scraper that runs every five minutes, using Python and libraries like BeautifulSoup, Selenium, and Cloudscraper to bypass browser security features and gather movie and ticket price data from AMC's website. Data Storage: The scraped data is stored in structured files (e.g., JSON or CSV format), which update dynamically as new data is retrieved. Web Interface: A front-end interface created using HTML, CSS, and JavaScript to display the movie listings, showtimes, and prices. Price Comparison: Logic built into the web interface allows users to sort or filter results based on price, movie time, or other factors, helping them find the best deal. Technologies Used: Python for web scraping and data handling. Selenium and BeautifulSoup for scraping movie showtimes and ticket prices. Cloudscraper API to bypass browser securities and access viable data using scripts. HTML, CSS, and JavaScript for building the front-end user interface. GitHub for version control and collaboration. Future Enhancements: API Integration: Incorporate official APIs to fetch movie and ticket data more reliably. User Authentication: Allow users to save favorite theaters or movie preferences and receive notifications when prices drop. Advanced Filtering: Add more filtering options for users to find tickets based on time, location, or ticket types (e.g., matinee vs. standard). Mobile-Friendly Design: Create a responsive design for better usability on mobile devices.
Built With
- beautiful-soup
- cloudscraper
- css
- html
- javascript
- python
- selenium
Log in or sign up for Devpost to join the conversation.