# getPageVideos.py
### Requirements
- [python3](https://www.python.org/downloads/)
- requests package ```pip install requests```
- [pycountry package](https://pypi.org/project/pycountry/) ```pip install pycountry```

### Setup
- `path_to_files` - url to media folder containing page videos
- On `line 13` there is a for cycle `for i in range(1,3)` upper range is exclusive. It generates file names in the format `language.lower()}-{i}.mp4` e.g. `en-1.mp4`

### Usage
Run the script and it will save all available files in the folder it was run.
```
C:\Users\Current> cd C:\Projects\project\media
C:\Projects\project\media> python getPageVideos.py

C:\Projects\project\i18n> dir
 Directory of C:\Projects\project\media

18/07/2019  14:53    <DIR>          .
18/07/2019  14:53    <DIR>          ..
...
              58 File(s)        810,854 bytes
               2 Dir(s)  309,238,874,112 bytes free

```
