|
1029 | 1029 | "scrollD": 2000 |
1030 | 1030 | } |
1031 | 1031 | }, |
1032 | | - "CADTutor - 列表页": { |
1033 | | - "host": "www.cadtutor.net", |
1034 | | - "url": "/\\/forum\\/forum\\//", |
| 1032 | + "CADTutor/LoversLab": { |
| 1033 | + "host": ["www.cadtutor.net","www.loverslab.com"], |
| 1034 | + "url": "/\\/(forum\\/\\d)|search/", |
1035 | 1035 | "pager": { |
1036 | | - "nextL": "a[rel='next']", |
1037 | | - "pageE": "ol.ipsDataList>li:not([data-rowid])~li", |
| 1036 | + "nextL": "li.ipsPagination_next:not(.ipsPagination_inactive)>a", |
| 1037 | + "pageE": "ol.ipsDataList>li[data-rowid], ol.ipsStream>li", |
1038 | 1038 | "replaceE": "ul.ipsPagination", |
1039 | 1039 | "scrollD": 2000 |
1040 | 1040 | } |
1041 | 1041 | }, |
1042 | | - "CADTutor - 帖子内": { |
1043 | | - "host": "www.cadtutor.net", |
1044 | | - "url": "/\\/forum\\/topic\\//", |
| 1042 | + "CADTutor/LoversLab - 帖子内": { |
| 1043 | + "host": ["www.cadtutor.net","www.loverslab.com"], |
| 1044 | + "url": "/\\/topic\\//", |
1045 | 1045 | "thread": true, |
1046 | 1046 | "pager": { |
1047 | | - "nextL": "a[rel='next']", |
1048 | | - "pageE": "#elPostFeed>form>*:not(input):not(.after-first-post)", |
1049 | | - "replaceE": "ul.ipsPagination", |
1050 | | - "scrollD": 2000 |
1051 | | - } |
1052 | | - }, |
1053 | | - "CADTutor - 搜索页": { |
1054 | | - "host": "www.cadtutor.net", |
1055 | | - "url": "/\\/forum\\/search\\//", |
1056 | | - "pager": { |
1057 | | - "nextL": "a[rel='next']", |
1058 | | - "pageE": "ol.ipsStream>li", |
| 1047 | + "nextL": "li.ipsPagination_next:not(.ipsPagination_inactive)>a", |
| 1048 | + "pageE": "#elPostFeed>form>*:not(input):not(div)", |
1059 | 1049 | "replaceE": "ul.ipsPagination", |
1060 | 1050 | "scrollD": 2000 |
1061 | 1051 | } |
1062 | 1052 | }, |
1063 | | - "TheSwamp - 列表页": { |
| 1053 | + "TheSwamp": { |
1064 | 1054 | "host": "www.theswamp.org", |
1065 | 1055 | "url": "/board=/", |
1066 | 1056 | "pager": { |
|
2738 | 2728 | "aF": "let _img=''; for (let i=0;i<newImgs.length;i++){_img += `<li><img src=\"${newImgs[i]}\"></li>`;}; document.getElementById('comicContain').insertAdjacentHTML('beforeend', _img);" |
2739 | 2729 | } |
2740 | 2730 | }, |
| 2731 | + "动漫狂": { |
| 2732 | + "host": "www.cartoonmad.cc", |
| 2733 | + "style": "body > table > tbody > tr:nth-child(4) > td > table > tbody > tr:first-child > td:not(:first-child) {display: none !important;} body > table > tbody > tr:nth-child(4) > td > table > tbody > tr:first-child > td:first-child img {max-width: 100%;height: auto;display: block !important;margin: 0 auto !important;}", |
| 2734 | + "pager": { |
| 2735 | + "nextL": "js; let next=fun.getXpath(\"//a[@class='pages'][contains(text(),'下一頁')][not(@href='thend.asp')]\");if (next) {return next.href;} else {next=fun.getXpath(\"//a[@class='pages'][contains(string(),'下一話')]\");if (next) return next.href;}", |
| 2736 | + "pageE": "img[onload]", |
| 2737 | + "replaceE": "body > table > tbody > tr:nth-child(2), body > table > tbody > tr:nth-child(5)", |
| 2738 | + "interval": 0, |
| 2739 | + "scrollD": 2000 |
| 2740 | + } |
| 2741 | + }, |
| 2742 | + "动漫狂 - 分类/搜索页": { |
| 2743 | + "host": "www.cartoonmad.com", |
| 2744 | + "url": "/^\\/./", |
| 2745 | + "blank": 3, |
| 2746 | + "pager": { |
| 2747 | + "nextL": "//a[@class='pages'][contains(text(), '下一頁')]", |
| 2748 | + "pageE": "td[background='/image/content_box4.gif']+td > table > tbody > tr", |
| 2749 | + "replaceE": "//a[@class='pages']/parent::td/parent::tr | //font[contains(text(), '目前在第')]" |
| 2750 | + } |
| 2751 | + }, |
2741 | 2752 | "漫画皮": { |
2742 | 2753 | "host": "www.manhuapi.com", |
2743 | 2754 | "url": "/\\/chapter\\//", |
|
2824 | 2835 | "aF": "let _img = '';for (let i = 0; i < imagesUrlArr.length; i++) {_img += `<img class=\"img-fluid d-md-block mx-auto\" src=\"${host + imagesUrlArr[i]}\">`;};fun.getCSS('.content-wrapper').insertAdjacentHTML('beforeend', _img);" |
2825 | 2836 | } |
2826 | 2837 | }, |
| 2838 | + "动漫戏说": { |
| 2839 | + "host": "comic.acgn.cc", |
| 2840 | + "url": "if(fun.indexOF('/view-')){fun.getAllCSS('.pic[_src][id]').forEach(e => {e.outerHTML = `<div class='pic' _src><img src='${e.getAttribute('_src')}' class='img1'></div>`;}); return true;}", |
| 2841 | + "style": ".img1 {cursor: initial !important;} .btn_wrap, #ss-toolbar {display: none !important;}", |
| 2842 | + "pager": { |
| 2843 | + "nextL": "#next_chapter", |
| 2844 | + "pageE": ".pic[_src]", |
| 2845 | + "replaceE": "[class^='display_']", |
| 2846 | + "interval": 5000, |
| 2847 | + "scrollD": 2000 |
| 2848 | + }, |
| 2849 | + "function": { |
| 2850 | + "aF": "fun.getAllCSS('.pic[_src][id]').forEach(e => {e.outerHTML = `<div class='pic' _src><img src='${e.getAttribute('_src')}' class='img1'></div>`;});" |
| 2851 | + } |
| 2852 | + }, |
| 2853 | + "动漫戏说 - 分类页": { |
| 2854 | + "host": "comic.acgn.cc", |
| 2855 | + "url": "/^\\/(cate|pinyin)-/", |
| 2856 | + "blank": 3, |
| 2857 | + "pager": { |
| 2858 | + "nextL": "a[rel='next']", |
| 2859 | + "pageE": "ul#display > li", |
| 2860 | + "replaceE": "#pagination", |
| 2861 | + "scrollD": 1000 |
| 2862 | + } |
| 2863 | + }, |
2827 | 2864 | "拷贝漫画": { |
2828 | 2865 | "host": "/copymanga\\./", |
2829 | 2866 | "url": "/\\/chapter\\//", |
|
0 commit comments