#!usr/bin/env python  
# coding:utf-8
""" 
@author:xuqing 
@file: main.py 
@time: 2018/06/07 
"""
import pdfkit

config = pdfkit.configuration(wkhtmltopdf=r"D:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe")
pdfkit.from_url('http://www.srcb.com','srcb.pdf',configuration=config)
25f5b37c05cd33495b081a1519f7a7f7a2de3b29
<mask token>

<mask token>
pdfkit.from_url('http://www.srcb.com', 'srcb.pdf', configuration=config)

<mask token>
config = pdfkit.configuration(wkhtmltopdf=
    'D:\\Program Files\\wkhtmltopdf\\bin\\wkhtmltopdf.exe')
pdfkit.from_url('http://www.srcb.com', 'srcb.pdf', configuration=config)

<mask token>
import pdfkit
config = pdfkit.configuration(wkhtmltopdf=
    'D:\\Program Files\\wkhtmltopdf\\bin\\wkhtmltopdf.exe')
pdfkit.from_url('http://www.srcb.com', 'srcb.pdf', configuration=config)

#!usr/bin/env python  
# coding:utf-8
""" 
@author:xuqing 
@file: main.py 
@time: 2018/06/07 
"""
import pdfkit

config = pdfkit.configuration(wkhtmltopdf=r"D:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe")
pdfkit.from_url('http://www.srcb.com','srcb.pdf',configuration=config)