blob: 1eb0fff66d4d97c4dfe94e78112a4265d69d150d (
plain)
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
|
# CLscrap
CLscrap is a craigslist scraper that provides a RESTful API at /api/cl that returns JSON data
- uses Django and templating
- renders results at /app
### Installation
CLscrap depends on following modules
- beautifulsoup4==4.5.3
- bs4==0.0.1
- Django==1.10.6
- requests==2.13.0
Install
```sh
$ pip install -r requirements.txt
$ python manage.py migrate
$ python manage.py createsuperuser
$ python manage.py runserver
$ curl http://localhost:8000/api/cl
```
### Screenshot

|