mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
fix #2118
This commit is contained in:
parent
8c3a7f7842
commit
54dcca0787
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ PR_PAID = 3 # send and propagated
|
|||
|
||||
def get_payment_request(url):
|
||||
u = urlparse.urlparse(url)
|
||||
error = None
|
||||
if u.scheme in ['http', 'https']:
|
||||
try:
|
||||
response = requests.request('GET', url, headers=REQUEST_HEADERS)
|
||||
|
|
Loading…
Add table
Reference in a new issue