mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 19:22:32 +01:00
4477808d1c
adapt ytdl order
21 lines
559 B
Python
21 lines
559 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Copyright 2017-2023 Mike Fährmann
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License version 2 as
|
|
# published by the Free Software Foundation.
|
|
|
|
import sys
|
|
|
|
if not __package__ and not hasattr(sys, "frozen"):
|
|
import os.path
|
|
path = os.path.realpath(os.path.abspath(__file__))
|
|
sys.path.insert(0, os.path.dirname(os.path.dirname(path)))
|
|
|
|
import gallery_dl
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(gallery_dl.main())
|