项目作者: poudel

项目描述 :
Scraper based on requests-html for the QFX cinemas website.
高级语言: Python
项目地址: git://github.com/poudel/qfx-scraper.git
创建时间: 2017-05-21T02:55:23Z
项目社区:https://github.com/poudel/qfx-scraper

开源协议:MIT License

下载


QFX Scraper

A simple scrapper for https://qfxcinemas.com site.

Usage

Install the qfx-scraper package by running:

  1. pipenv install qfx-scraper

Now you can test the scraper.

  1. >>> from qfx import QFXScraper
  2. >>> scraper = QFXScraper()
  3. >>> scraper.get_movies()
  4. [<Movie: Red Sparrow>, <Movie: Pari>, <Movie: 3D: Black Panther>, <Movie: The Hurricane Heist>, <Movie: Mangalam>, <Movie: Gaja Baja>, <Movie: Hurray>, <Movie: A League of Their Own>, <Movie: Black Panther>, <Movie: Tomb Raider>, <Movie: 3D: Tomb Raider>, <Movie: Panchayat>, <Movie: Raid>, <Movie: Shatru Gate>, <Movie: Hichki>, <Movie: Baaghi 2>]
  5. >>> # let's see now showing
  6. >>> scraper.showing
  7. [<Movie: Red Sparrow>, <Movie: Pari>, <Movie: 3D: Black Panther>, <Movie: The Hurricane Heist>, <Movie: Mangalam>, <Movie: Gaja Baja>, <Movie: Hurray>, <Movie: A League of Their Own>, <Movie: Black Panther>]
  8. >>> # similarly, coming soon
  9. >>> scraper.coming_up
  10. [<Movie: Tomb Raider>, <Movie: 3D: Tomb Raider>, <Movie: Panchayat>, <Movie: Raid>, <Movie: Shatru Gate>, <Movie: Hichki>, <Movie: Baaghi 2>]