- maven
- IntelliJ IDEA (optional?)
- Run
| version: "2.2" | |
| services: | |
| elasticsearch: | |
| image: docker.elastic.co/elasticsearch/elasticsearch:6.5.4 | |
| container_name: elasticsearch | |
| environment: | |
| - cluster.name=docker-cluster | |
| - bootstrap.memory_lock=true | |
| - "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
| ulimits: |
| /* | |
| DOES NOT WORK WITH AUTOMATIC CAPTIONS! | |
| How to: | |
| 1. open the javascript console | |
| 2. paste the code below and press enter | |
| 3. click on the link and open the page | |
| 4. If you need to download the subtitles: right click and save as .vtt (can be open with vlc) | |
| */ | |
| var id=window.location.search.split("v=")[1]; | |
| var lang='en'; //default language is english (see below) |