File size: 1,226 Bytes
2855da8
 
 
 
 
 
 
 
 
 
 
b3450da
2855da8
d592f04
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2855da8
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
license: mit
task_categories:
- text-classification
- text-generation
- question-answering
- summarization
language:
- en
size_categories:
- 1K<n<10K
viewer: false
---
## IMSDb Scraper

A Python script that scrapes movie script details from the Internet Movie Script Database (IMSDb) website.

### Features:

- Fetches all script links available on IMSDb.
- Retrieves details for each movie script including:
  - Title
  - Poster Image URL
  - IMSDb Opinion
  - IMSDb Rating
  - Average User Rating
  - Writers
  - Genres
  - Script Date
  - Movie Release Date
  - Submitted By
  - Full Script Text

### Installation

1. Clone repository.

2. Install the required Python packages.
```bash
pip install -r requirements.txt
```

### Usage

1. Simply run the script.
```bash
python scraper.py
```

2. After the script runs, the extracted movie script details will be saved to `data.jsonl`.

### Error Handling

If any errors occur during scraping, they will be written to `error.txt` with the respective URL and error message.

### Contributing

Feel free to open issues or PRs if you find any problems or have improvements in mind.

### License

This project is licensed under the MIT License. See `LICENSE` for more details.