File tree 4 files changed +56
-49
lines changed
4 files changed +56
-49
lines changed Original file line number Diff line number Diff line change 21
21
from requests .exceptions import HTTPError
22
22
23
23
24
+ __version__ = "1.0.3"
25
+
26
+
24
27
def get_content_type (response ):
25
28
response_type = response .headers .get ('Content-Type' )
26
29
if not response_type :
Original file line number Diff line number Diff line change
1
+ [build-system ]
2
+ requires = [" hatchling" ]
3
+ build-backend = " hatchling.build"
4
+
5
+ [project ]
6
+ name = " img-lurker"
7
+ dynamic = [" version" ]
8
+ description = " Web gallery downloader"
9
+ readme = " README.md"
10
+ license = " WTFPL"
11
+ requires-python = " >=3.6"
12
+ keywords = [
13
+ " image" ,
14
+ " photo" ,
15
+ " spider" ,
16
+ " crawling" ,
17
+ " download" ,
18
+ " gallery" ,
19
+ ]
20
+ classifiers = [
21
+ " Development Status :: 5 - Production/Stable" ,
22
+ " Environment :: Console" ,
23
+ " Intended Audience :: End Users/Desktop" ,
24
+ " License :: Public Domain" ,
25
+ " Operating System :: OS Independent" ,
26
+ " Programming Language :: Python" ,
27
+ " Programming Language :: Python :: 3.6" ,
28
+ " Programming Language :: Python :: 3.7" ,
29
+ " Programming Language :: Python :: 3.8" ,
30
+ " Topic :: Internet" ,
31
+ " Topic :: Internet :: WWW/HTTP :: Browsers" ,
32
+ " Topic :: Internet :: WWW/HTTP :: Indexing/Search" ,
33
+ " Topic :: Multimedia :: Graphics" ,
34
+ " Topic :: System :: Archiving" ,
35
+ " Topic :: Utilities" ,
36
+ ]
37
+ dependencies = [
38
+ " woob" ,
39
+ " Pillow" ,
40
+ ]
41
+
42
+ [[project .authors ]]
43
+ name = " Hg"
44
+
45
+
46
+ [project .scripts ]
47
+ img-lurker = " img_lurker:main"
48
+
49
+ [project .urls ]
50
+ Homepage = " https://gitlab.com/hydrargyrum/img-lurker/"
51
+
52
+ [tool .hatch .version ]
53
+ path = " img_lurker.py"
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments