Skip to content

Commit

Permalink
File restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
nirantak committed Oct 6, 2021
1 parent 557a4c1 commit 59e3f08
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 21 deletions.
23 changes: 2 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
- [Table of Contents](#table-of-contents)
- [Installation](#installation)
- [Usage](#usage)
- [Ticket Price Scraper](#ticket-price-scraper)
- [Instagram Followers Scraper](#instagram-followers-scraper)
- [Requirements](#requirements)

## Installation
Expand All @@ -32,27 +30,10 @@ playwright install

## Usage

### Ticket Price Scraper
See [scripts/README.md](scripts/) for usage instructions.

Fill all variables in the top **# Config** section.

Run script

```bash
python scripts/ticket_prices.py
```

### Instagram Followers Scraper

Rename file **sample.env** as **.env**, and fill all environment variables (username, password).

Run script

```bash
python scripts/instagram.py
```
Samples present in [demo/](demo/).

## Requirements

1. [Python 3.10](https://www.python.org/downloads/)
2. [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/downloads)
14 changes: 14 additions & 0 deletions scripts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Scrapers

## Table of Contents

- [Scrapers](#scrapers)
- [Table of Contents](#table-of-contents)
- [Scripts](#scripts)
- [Archived](#archived)

## Scripts

### Archived

Archived scrapers can be found [here](archive/).
36 changes: 36 additions & 0 deletions scripts/archive/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Archived

## Table of Contents

- [Archived](#archived)
- [Table of Contents](#table-of-contents)
- [Usage](#usage)
- [Ticket Price Scraper](#ticket-price-scraper)
- [Instagram Followers Scraper](#instagram-followers-scraper)
- [Requirements](#requirements)

## Usage

### Ticket Price Scraper

Fill all variables in the top **# Config** section.

Run script

```bash
python scripts/archive/ticket_prices.py
```

### Instagram Followers Scraper

Rename file **sample.env** as **.env**, and fill all environment variables (username, password).

Run script

```bash
python scripts/archive/instagram.py
```

## Requirements

1. [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/downloads)
File renamed without changes.
File renamed without changes.

0 comments on commit 59e3f08

Please sign in to comment.