mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
work
This commit is contained in:
@@ -19,16 +19,16 @@ parsed = urlparse(url)
|
|||||||
base_url = f'{parsed.scheme}://{parsed.netloc}'
|
base_url = f'{parsed.scheme}://{parsed.netloc}'
|
||||||
path = parsed.path.lstrip('/')
|
path = parsed.path.lstrip('/')
|
||||||
|
|
||||||
destination = '.'
|
destination = './downloads'
|
||||||
|
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
[
|
[
|
||||||
'rclone',
|
'rclone',
|
||||||
'ls',
|
'copy',
|
||||||
'--http-url',
|
'--http-url',
|
||||||
base_url,
|
base_url,
|
||||||
f':http:{path}',
|
f':http:{path}',
|
||||||
# destination,
|
destination,
|
||||||
'--dump',
|
'--dump',
|
||||||
'headers',
|
'headers',
|
||||||
'-vv',
|
'-vv',
|
||||||
|
|||||||
Reference in New Issue
Block a user