File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ def scrape(workno: str) -> DoujinVoice:
31
31
html = _get_200 (url ).text
32
32
33
33
if m := re .search (r'data-product-name="(.+)"\s*data-maker-name="(.+)"' , html ):
34
- name = m .group (1 )
35
- circle = m .group (2 )
34
+ name = unescape ( m .group (1 ) )
35
+ circle = unescape ( m .group (2 ) )
36
36
else :
37
37
raise ParsingError (f"no work name found" , workno )
38
38
39
39
if m := re .search (r"\"og:image\"[\s\S]*?content=\"(.+?)\"" , html ):
40
- image_url = urljoin ("https://www.dlsite.com" , m .group (1 ))
40
+ image_url = urljoin ("https://www.dlsite.com" , unescape ( m .group (1 ) ))
41
41
else :
42
42
raise ParsingError (f"no cover image url found" , workno )
43
43
Original file line number Diff line number Diff line change 1
1
[metadata]
2
2
name = dvtag
3
- version = 0.7.2
3
+ version = 0.7.3
4
4
author = Nobe Kanai
5
5
author_email = nobekanai@gmail.com
6
6
description = A tool for tagging your doujin voice library.
You can’t perform that action at this time.
0 commit comments