-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
40 lines (28 loc) · 1.07 KB
/
Copy pathREADME
File metadata and controls
40 lines (28 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Scraper Library
# Version 2
#
# Copyright 2008-2013 Beatscope Limited
# GNU GPL v3 Licence
Package Tree:
------------
bin/
scraper Scraper utility
libscraper/
exceptions.py Common exceptions raised by the library.
fixtures.py Fixtures (contains list of known target sites patterns).
models/ The models module holds site-specific parser definitions.
They are defined as plugins.
parser.py URL Parsing library.
scraper.py Deal Scraper. Provides the main plugin interface to find
and extract data from URLs.
utils.py Common utility functions.
Class Diagram:
-------------
_________
| |
--<>| Groupon |
| |_________|
_________ ________ | _________
| | | | | | |
| Scraper |--->| Parser |-----<>| ZXY |
|_________| |________| |_________|