Update getinfobox.py
This commit is contained in:
parent
20f7df865d
commit
fc73a6ae7d
1 changed files with 3 additions and 0 deletions
|
@ -139,6 +139,9 @@ async def get_pic(link, page_link, headers, section=None, allow_special_page=Fal
|
|||
if x.has_attr('class') and x.has_attr('data-src'):
|
||||
x.attrs['class'] = 'image'
|
||||
x.attrs['src'] = x.attrs['data-src']
|
||||
|
||||
open_file.write('<div class="mw-parser-output">')
|
||||
|
||||
open_file.write(str(find_infobox))
|
||||
w = 500
|
||||
open_file.write('</div>')
|
||||
|
|
Reference in a new issue