Yet another small update.
[Python-Scripts.git] / MiniScripts / pymotherless-demo.py
blob2b97cb2d9dde83673057e8724967ebc714f7da8f
1 #!/usr/bin/env python
3 '''
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the Revised BSD License.
7 This program is distributed in the hope that it will be useful,
8 but WITHOUT ANY WARRANTY; without even the implied warranty of
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 Revised BSD License for more details.
12 Copyright 2016 Cool Dude 2k - http://idb.berlios.de/
13 Copyright 2016 Game Maker 2k - http://intdb.sourceforge.net/
14 Copyright 2016 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
16 $FileInfo: pymotherless-demo.py - Last Update: 1/22/2016 Ver. 0.3.1 RC 1 - Author: cooldude2k $
17 '''
19 from __future__ import division, absolute_import, print_function;
20 import re, os, sys, pymotherless, argparse;
22 __program_name__ = pymotherless.__program_name__;
23 __version_info__ = pymotherless.__version_info__;
24 __version_date__ = pymotherless.__version_date__;
25 __version__ = pymotherless.__version__;
26 __version_date_plusrc__ = pymotherless.__version_date_plusrc__;
28 geturls_cj = pymotherless.geturls_cj;
29 geturls_ua = pymotherless.geturls_ua;
30 geturls_ua_firefox_windows7 = pymotherless.geturls_ua_firefox_windows7;
31 geturls_ua_chrome_windows7 = pymotherless.geturls_ua_chrome_windows7;
32 geturls_ua_internet_explorer_windows7 = pymotherless.geturls_ua_internet_explorer_windows7;
33 geturls_headers = pymotherless.geturls_headers;
34 geturls_download_sleep = pymotherless.geturls_download_sleep;
36 parser = argparse.ArgumentParser(description="get urls of images/videos from motherless.com", conflict_handler="resolve", add_help=True);
37 parser.add_argument('-v', '--version', action='version', version=__program_name__+" "+__version__);
38 getargs = parser.parse_args();