View Single Post
Old 03-09-2017, 08:03 PM   #1088
botmtl
Enthusiast
botmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel isbotmtl really knows where his or her towel is
 
botmtl's Avatar
 
Posts: 43
Karma: 70238
Join Date: Jun 2014
Device: none
I have a suggestion for a fix if you like it. In container.py (get_page_image_names), line 784, instead of
Code:
images = XPath('//h:img[@src]')(data)
use
Code:
images = XPath('//h:img[not(starts-with(@src,"data:"))]')(data)
?

**disclaimer: I'm about as good with python as I am programming LISP or assembly.
**disclaimer: I haven't actually tried it in the plugin, but I known the XPath is valid at the very least.

Last edited by botmtl; 03-09-2017 at 08:06 PM.
botmtl is offline   Reply With Quote