diff options
author | Oliver Cervera <cervera93-19@yahoo.it> | 2021-09-20 15:15:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-20 15:15:51 +0200 |
commit | fb43148cfaaa9397471928fead3f0c5a3f6688fc (patch) | |
tree | a7ba040765c2d91782a6f74ef37ae6d44cdbbffc | |
parent | fix: set CORS to * for socketio (#55) (diff) | |
download | metube-fb43148cfaaa9397471928fead3f0c5a3f6688fc.tar.gz metube-fb43148cfaaa9397471928fead3f0c5a3f6688fc.tar.bz2 metube-fb43148cfaaa9397471928fead3f0c5a3f6688fc.zip |
Add cookies how to
Add procedure to use cookies with this container
-rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -28,6 +28,24 @@ services: volumes:
- /path/to/downloads:/downloads
```
+### Cookies
+In case you need to use cookies with this container:
+
+* Add the following to your docker-compose
+
+```yaml
+
+ volumes:
+ - /some/path/to/your/cookies:/app/cookies
+ environment:
+ - YTDL_OPTIONS={"cookiefile":"/app/cookies/cookies.txt"}
+```
+* Install in your browser an extension to extract Cookies
+ * [Firefox](https://addons.mozilla.org/en-US/firefox/addon/export-cookies-txt/)
+ * [Chrome](https://chrome.google.com/webstore/detail/get-cookiestxt/bgaddhkoddajcdgocldbbfleckgcbcid)
+* Extract the cookies you need with the extension and rename the file `cookies.txt`
+* Drop the file in the folder you configured in the docker-compose above
+* Restart the container
## Configuration via environment variables
|