A client for scraping and parsing the Periodic Review Secretariat's web page for Guananamo detainees.
Project description
# NYT PRB Scraper
From [their website](http://www.prs.mil/): "The Periodic Review Secretariat (PRS) develops and administers the periodic review process for eligible Guantanamo Bay detainees, including provision of personal representatives to detainees."
## Usage
The PRB engages in three different forms of review for a Guantanamo detainee's documents: An initial review, a file review and a full review. Technically, a fourth type, the subsequent full review, is available. To date, no subsequent full reviews have been posted.
### Initial review
```
initial_review > initial_review.json
```
### File review
```
file_review > file_review.json
```
### Full review
```
full_review > full_review.json
```
## Schema
```python
[
{
'name': 'Mustafa Faraj Muhammad Masud al-Jadid al-Uzaybi',
'isn': '10017',
'notification_date': '4/4/2016',
'hearing_or_review_date': '8/16/2016',
'final_determination_date': '',
'missing_documents' ['4','6'],
'documents': [
{
'type_name': 'Government's Unclassified Summary',
'type_id': '1',
'url': 'http://www.prs.mil/Portals/60/Documents/ISN10017/160331_U_ISN10017_GOVERNMENTS_UNCLASSIFIED_SUMMARY_PUBLIC.pdf',
'denied': False,
'denial': None
},
...
]
},
...
]
## Output
The scrapers return JSON.
From [their website](http://www.prs.mil/): "The Periodic Review Secretariat (PRS) develops and administers the periodic review process for eligible Guantanamo Bay detainees, including provision of personal representatives to detainees."
## Usage
The PRB engages in three different forms of review for a Guantanamo detainee's documents: An initial review, a file review and a full review. Technically, a fourth type, the subsequent full review, is available. To date, no subsequent full reviews have been posted.
### Initial review
```
initial_review > initial_review.json
```
### File review
```
file_review > file_review.json
```
### Full review
```
full_review > full_review.json
```
## Schema
```python
[
{
'name': 'Mustafa Faraj Muhammad Masud al-Jadid al-Uzaybi',
'isn': '10017',
'notification_date': '4/4/2016',
'hearing_or_review_date': '8/16/2016',
'final_determination_date': '',
'missing_documents' ['4','6'],
'documents': [
{
'type_name': 'Government's Unclassified Summary',
'type_id': '1',
'url': 'http://www.prs.mil/Portals/60/Documents/ISN10017/160331_U_ISN10017_GOVERNMENTS_UNCLASSIFIED_SUMMARY_PUBLIC.pdf',
'denied': False,
'denial': None
},
...
]
},
...
]
## Output
The scrapers return JSON.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nyt-prb-scraper-0.0.1.tar.gz
(2.8 kB
view details)
File details
Details for the file nyt-prb-scraper-0.0.1.tar.gz
.
File metadata
- Download URL: nyt-prb-scraper-0.0.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f4e56d2af1b6fb7ed470e08dde40fe718c7333d9d30becf2267337edf3c4a12 |
|
MD5 | faff07f493bbe0fe194830ef46672f57 |
|
BLAKE2b-256 | 16d0b8c8d1035aa60c849f5542da9de501e4bcfa9236e851b5129816e8283e16 |