mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-28 19:50:29 +00:00
Fix Word file check plugin.
This commit is contained in:
parent
b646293fd6
commit
37664ea8a4
2 changed files with 4 additions and 1 deletions
|
|
@ -29,6 +29,8 @@ Fixes:
|
|||
Closes: GH bug #519
|
||||
- checking: Use user-supplied authentication and proxies when requestiong
|
||||
robot.txt.
|
||||
- plugins: Fix Word file check plugin.
|
||||
Closes: GH bug #530
|
||||
|
||||
|
||||
9.2 "Rick and Morty" (released 23.4.2014)
|
||||
|
|
|
|||
|
|
@ -117,7 +117,8 @@ class WordParser(_ParserPlugin):
|
|||
|
||||
def check(self, url_data):
|
||||
"""Parse Word data."""
|
||||
filename = get_temp_filename()
|
||||
content = url_data.get_content()
|
||||
filename = get_temp_filename(content)
|
||||
# open word file and parse hyperlinks
|
||||
try:
|
||||
app = get_word_app()
|
||||
|
|
|
|||
Loading…
Reference in a new issue