OSDN Git Service
(root)
/
otptools
/
otptools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bc7044
)
all implement done: fetch_sfjpmag.py
author
hylom
<hylom@users.sourceforge.jp>
Tue, 10 Nov 2009 10:14:09 +0000
(19:14 +0900)
committer
hylom
<hylom@users.sourceforge.jp>
Tue, 10 Nov 2009 10:14:09 +0000
(19:14 +0900)
fetch_sfjpmag.py
patch
|
blob
|
history
diff --git
a/fetch_sfjpmag.py
b/fetch_sfjpmag.py
index
97811e4
..
af4fba9
100644
(file)
--- a/
fetch_sfjpmag.py
+++ b/
fetch_sfjpmag.py
@@
-80,6
+80,10
@@
class SfjpMagFetcher(spyder.Spyder):
f.write(data)
f.close()
+ # get attachments
+ for src in self.extract_imgs(data, url):
+ if self._url_rex_img.search(src):
+ self._save_attachment(src)
def prepare_output_dir(self, dir):
if not os.path.exists(dir):