Skip to main content

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.

Project details


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 hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page