# getSubtitles.py
### Requirements
- python3
- requests package ```pip install requests```

### Setup
- `path_to_translations` - url to subtitles folder containing `vtt` translations
- `most_common_languages` - translations that need to be download

### Usage
Run the file in the folder and it will save each `vtt` in the folder it was run.
```
C:\Users\Current> cd C:\Projects\project\media\subtitles
C:\Projects\project\media\subtitles> python getSubtitles.py
Saving "EN"
Saving "DE"
"AR" Not Found.
Saving "RU"
Saving "ES"
Saving "FR"
"NO" Not Found.
Saving "DK"
Saving "FI"
Saving "SE"
Saving "NL"
"IT" Not Found.
"PT" Not Found.


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

19/07/2019  17:23    <DIR>          .
19/07/2019  17:23    <DIR>          ..
19/07/2019  17:22             2,064 de.vtt
19/07/2019  17:22             2,321 dk.vtt
19/07/2019  17:22             2,196 en.vtt
19/07/2019  17:22             2,252 es.vtt
19/07/2019  17:22             2,291 fi.vtt
19/07/2019  17:22             2,633 fr.vtt
19/07/2019  17:22               599 getSubtitles.py
19/07/2019  17:22             2,371 nl.vtt
19/07/2019  17:23             1,150 README.md
19/07/2019  17:22             3,568 ru.vtt
19/07/2019  17:22             2,294 se.vtt
              11 File(s)         23,739 bytes
               2 Dir(s)  309,802,024,960 bytes free

```