1 Star 2 Fork 1

john_xu / book118网站pdf下载器

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
selector.py 704 Bytes
一键复制 编辑 原始数据 按行查看 历史
john_xu 提交于 2019-08-12 22:44 . 强制等待,降低漏下载可能性
class Selector:
css_title_intop="#Preview > div.title > span > h1"
css_title_inbot="#viewcontent"
css_goto_iframe="#Preview > div:nth-child(4) > div > div.view-btn"
css_btn_np="#newView > div.bar > div > a.item.page-next"
css_btn_pp="#newView > div.bar > div > a.item.page-prev"
css_btn_readall="#btn_read"
css_content_img="#newView > div.bd > div:nth-child({}) > img"
css_pg_num="#newView > div.bar > div > input"
css_all_pg="#newView > div.bd> div"
xpath_btn_np='//*[@id="newView"]/div[1]/div/a[5]'
xpath_btn_pp='//*[@id="newView"]/div[1]/div/a[4]'
css_ifame="#layer_new_view_iframe"
css_btn_np_1="#nextBtn"
css_btn_pp_1="#preBtn"
Python
1
https://gitee.com/john_xu/book118_pdf_downloader.git
git@gitee.com:john_xu/book118_pdf_downloader.git
john_xu
book118_pdf_downloader
book118网站pdf下载器
master

搜索帮助