diff options
author | Jesús <heckyel@hyperbola.info> | 2019-10-12 19:35:02 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-10-12 19:35:02 -0500 |
commit | abbf953e640a64a05c7b37e596b327d3c3af1530 (patch) | |
tree | 4f67568a4aa9b77971f642eb6ed04d7022c3a9a7 | |
parent | 411f640ecffa5730bc08c58b9d11fc4a6190f884 (diff) | |
download | livie-abbf953e640a64a05c7b37e596b327d3c3af1530.tar.lz livie-abbf953e640a64a05c7b37e596b327d3c3af1530.tar.xz livie-abbf953e640a64a05c7b37e596b327d3c3af1530.zip |
change intance to invidio.us
Message from snopyta: Google currently rate limits IP addresses much faster, it could be that this instance wont work for a some time.
-rw-r--r-- | livie.el | 2 | ||||
-rw-r--r-- | livie.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -48,7 +48,7 @@ :type 'string) (defvar livie-youtube-regexp - "https://proxy.invidious.snopyta.org/latest_version\\?id=[A-Za-z0-9_\\-]\\{11\\}&itag=\\<\\([0-9]*\\.[0-9]+\\|[0-9]+\\)[df]?\\>&local=true") + "https://invidio.us/latest_version\\?id=[A-Za-z0-9_\\-]\\{11\\}&itag=\\<\\([0-9]*\\.[0-9]+\\|[0-9]+\\)[df]?\\>&local=true") (define-derived-mode livie-mode special-mode "livie" @@ -5,7 +5,7 @@ import datetime import json import requests -URL = 'https://proxy.invidious.snopyta.org' +URL = 'https://invidio.us' INPUT = sys.argv[1] SEARCH = '%s/api/v1/search?q=%s' % (URL, INPUT) REQUEST = requests.get(SEARCH) |