diff options
author | Jesús <heckyel@hyperbola.info> | 2021-09-14 15:54:16 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-09-14 15:54:16 -0500 |
commit | d116351aeda249e42e5ade22640232362fe2ed43 (patch) | |
tree | 5b87459b465dd1c5bc113f800661631514bf4fcd | |
parent | 8b745907cc6aab2df71e6eb0de1f6b76564aad33 (diff) | |
download | yt-local-d116351aeda249e42e5ade22640232362fe2ed43.tar.lz yt-local-d116351aeda249e42e5ade22640232362fe2ed43.tar.xz yt-local-d116351aeda249e42e5ade22640232362fe2ed43.zip |
README.md: update
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -95,10 +95,10 @@ Firstly, if you wish to run this in portable mode, create the empty file "settin To run the program on windows, open `run.bat`. On GNU+Linux/MacOS, run `python3 server.py`. -Access youtube URLs by prefixing them with `http://localhost:8080/`, For instance, `http://localhost:8080/https://www.youtube.com/watch?v=vBgulDeV2RU` -You can use an addon such as Redirector ([Firefox](https://addons.mozilla.org/en-US/firefox/addon/redirector/)|[Chrome](https://chrome.google.com/webstore/detail/redirector/ocgpenflpmgnfapjedencafcfakcekcd)) to automatically redirect YouTube URLs to yt-local. I use the include pattern `^(https?://(?:[a-zA-Z0-9_-]*\.)?(?:youtube\.com|youtu\.be|youtube-nocookie\.com)/.*)` and the redirect pattern `http://localhost:8080/$1` (Make sure you're using regular expression mode). +Access youtube URLs by prefixing them with `http://localhost:9010/`, For instance, `http://localhost:9010/https://www.youtube.com/watch?v=vBgulDeV2RU` +You can use an addon such as Redirector ([Firefox](https://addons.mozilla.org/en-US/firefox/addon/redirector/)|[Chrome](https://chrome.google.com/webstore/detail/redirector/ocgpenflpmgnfapjedencafcfakcekcd)) to automatically redirect YouTube URLs to yt-local. I use the include pattern `^(https?://(?:[a-zA-Z0-9_-]*\.)?(?:youtube\.com|youtu\.be|youtube-nocookie\.com)/.*)` and the redirect pattern `http://localhost:9010/$1` (Make sure you're using regular expression mode). -If you want embeds on the web to also redirect to yt-local, make sure "Iframes" is checked under advanced options in your redirector rule. Check test `http://localhost:8080/youtube.com/embed/vBgulDeV2RU` +If you want embeds on the web to also redirect to yt-local, make sure "Iframes" is checked under advanced options in your redirector rule. Check test `http://localhost:9010/youtube.com/embed/vBgulDeV2RU` yt-local can be added as a search engine in firefox to make searching more convenient. See [here](https://support.mozilla.org/en-US/kb/add-or-remove-search-engine-firefox) for information on firefox search plugins. |