|
| 1 | +# Comparing `tmp/Jvav-1.9.3.tar.gz` & `tmp/Jvav-1.9.4.tar.gz` |
| 2 | + |
| 3 | +## filetype from file(1) |
| 4 | + |
| 5 | +```diff |
| 6 | +@@ -1 +1 @@ |
| 7 | +-gzip compressed data, was "/Users/zh/Codes/jvav/dist/.tmp-zkxb_j_j/Jvav-1.9.3.tar", last modified: Fri May 31 16:50:52 2024, max compression |
| 8 | ++gzip compressed data, was "/Users/zh/Codes/jvav/dist/.tmp-zai3ga1g/Jvav-1.9.4.tar", last modified: Sat Jun 1 03:02:18 2024, max compression |
| 9 | +``` |
| 10 | + |
| 11 | +## Comparing `Jvav-1.9.3.tar` & `Jvav-1.9.4.tar` |
| 12 | + |
| 13 | +### file list |
| 14 | + |
| 15 | +```diff |
| 16 | +@@ -1,20 +1,20 @@ |
| 17 | +-drwxr-xr-x 0 zh (501) staff (20) 0 2024-05-31 16:50:52.000000 Jvav-1.9.3/ |
| 18 | +-drwxr-xr-x 0 zh (501) staff (20) 0 2024-05-31 16:50:52.000000 Jvav-1.9.3/Jvav.egg-info/ |
| 19 | +--rw-r--r-- 0 zh (501) staff (20) 4311 2024-05-31 16:50:52.000000 Jvav-1.9.3/Jvav.egg-info/PKG-INFO |
| 20 | +--rw-r--r-- 0 zh (501) staff (20) 295 2024-05-31 16:50:52.000000 Jvav-1.9.3/Jvav.egg-info/SOURCES.txt |
| 21 | +--rw-r--r-- 0 zh (501) staff (20) 1 2024-05-31 16:50:52.000000 Jvav-1.9.3/Jvav.egg-info/dependency_links.txt |
| 22 | +--rw-r--r-- 0 zh (501) staff (20) 39 2024-05-31 16:50:52.000000 Jvav-1.9.3/Jvav.egg-info/entry_points.txt |
| 23 | +--rw-r--r-- 0 zh (501) staff (20) 1 2023-07-18 10:13:18.000000 Jvav-1.9.3/Jvav.egg-info/not-zip-safe |
| 24 | +--rw-r--r-- 0 zh (501) staff (20) 579 2024-05-31 16:50:52.000000 Jvav-1.9.3/Jvav.egg-info/requires.txt |
| 25 | +--rw-r--r-- 0 zh (501) staff (20) 11 2024-05-31 16:50:52.000000 Jvav-1.9.3/Jvav.egg-info/top_level.txt |
| 26 | +--rw-r--r-- 0 zh (501) staff (20) 35149 2023-07-16 04:15:06.000000 Jvav-1.9.3/LICENSE |
| 27 | +--rw-r--r-- 0 zh (501) staff (20) 108 2023-07-16 04:15:06.000000 Jvav-1.9.3/MANIFEST.in |
| 28 | +--rw-r--r-- 0 zh (501) staff (20) 4311 2024-05-31 16:50:52.000000 Jvav-1.9.3/PKG-INFO |
| 29 | +--rw-r--r-- 0 zh (501) staff (20) 3581 2024-04-21 15:00:39.000000 Jvav-1.9.3/README.md |
| 30 | +-drwxr-xr-x 0 zh (501) staff (20) 0 2024-05-31 16:50:52.000000 Jvav-1.9.3/jvav/ |
| 31 | +--rw-r--r-- 0 zh (501) staff (20) 481 2024-05-31 16:50:21.000000 Jvav-1.9.3/jvav/__init__.py |
| 32 | +--rw-r--r-- 0 zh (501) staff (20) 7578 2024-02-16 02:42:42.000000 Jvav-1.9.3/jvav/cmd.py |
| 33 | +--rw-r--r-- 0 zh (501) staff (20) 76532 2024-05-31 16:49:02.000000 Jvav-1.9.3/jvav/utils.py |
| 34 | +--rw-r--r-- 0 zh (501) staff (20) 579 2024-05-31 16:49:11.000000 Jvav-1.9.3/requirements.txt |
| 35 | +--rw-r--r-- 0 zh (501) staff (20) 38 2024-05-31 16:50:52.000000 Jvav-1.9.3/setup.cfg |
| 36 | +--rw-r--r-- 0 zh (501) staff (20) 1345 2024-05-31 16:50:22.000000 Jvav-1.9.3/setup.py |
| 37 | ++drwxr-xr-x 0 zh (501) staff (20) 0 2024-06-01 03:02:18.000000 Jvav-1.9.4/ |
| 38 | ++drwxr-xr-x 0 zh (501) staff (20) 0 2024-06-01 03:02:18.000000 Jvav-1.9.4/Jvav.egg-info/ |
| 39 | ++-rw-r--r-- 0 zh (501) staff (20) 4311 2024-06-01 03:02:18.000000 Jvav-1.9.4/Jvav.egg-info/PKG-INFO |
| 40 | ++-rw-r--r-- 0 zh (501) staff (20) 295 2024-06-01 03:02:18.000000 Jvav-1.9.4/Jvav.egg-info/SOURCES.txt |
| 41 | ++-rw-r--r-- 0 zh (501) staff (20) 1 2024-06-01 03:02:18.000000 Jvav-1.9.4/Jvav.egg-info/dependency_links.txt |
| 42 | ++-rw-r--r-- 0 zh (501) staff (20) 39 2024-06-01 03:02:18.000000 Jvav-1.9.4/Jvav.egg-info/entry_points.txt |
| 43 | ++-rw-r--r-- 0 zh (501) staff (20) 1 2023-07-18 10:13:18.000000 Jvav-1.9.4/Jvav.egg-info/not-zip-safe |
| 44 | ++-rw-r--r-- 0 zh (501) staff (20) 579 2024-06-01 03:02:18.000000 Jvav-1.9.4/Jvav.egg-info/requires.txt |
| 45 | ++-rw-r--r-- 0 zh (501) staff (20) 11 2024-06-01 03:02:18.000000 Jvav-1.9.4/Jvav.egg-info/top_level.txt |
| 46 | ++-rw-r--r-- 0 zh (501) staff (20) 35149 2023-07-16 04:15:06.000000 Jvav-1.9.4/LICENSE |
| 47 | ++-rw-r--r-- 0 zh (501) staff (20) 108 2023-07-16 04:15:06.000000 Jvav-1.9.4/MANIFEST.in |
| 48 | ++-rw-r--r-- 0 zh (501) staff (20) 4311 2024-06-01 03:02:18.000000 Jvav-1.9.4/PKG-INFO |
| 49 | ++-rw-r--r-- 0 zh (501) staff (20) 3581 2024-04-21 15:00:39.000000 Jvav-1.9.4/README.md |
| 50 | ++drwxr-xr-x 0 zh (501) staff (20) 0 2024-06-01 03:02:18.000000 Jvav-1.9.4/jvav/ |
| 51 | ++-rw-r--r-- 0 zh (501) staff (20) 481 2024-06-01 03:01:21.000000 Jvav-1.9.4/jvav/__init__.py |
| 52 | ++-rw-r--r-- 0 zh (501) staff (20) 7578 2024-02-16 02:42:42.000000 Jvav-1.9.4/jvav/cmd.py |
| 53 | ++-rw-r--r-- 0 zh (501) staff (20) 76664 2024-06-01 02:59:52.000000 Jvav-1.9.4/jvav/utils.py |
| 54 | ++-rw-r--r-- 0 zh (501) staff (20) 579 2024-05-31 16:49:11.000000 Jvav-1.9.4/requirements.txt |
| 55 | ++-rw-r--r-- 0 zh (501) staff (20) 38 2024-06-01 03:02:18.000000 Jvav-1.9.4/setup.cfg |
| 56 | ++-rw-r--r-- 0 zh (501) staff (20) 1345 2024-06-01 03:01:21.000000 Jvav-1.9.4/setup.py |
| 57 | +``` |
| 58 | + |
| 59 | +### Comparing `Jvav-1.9.3/Jvav.egg-info/PKG-INFO` & `Jvav-1.9.4/Jvav.egg-info/PKG-INFO` |
| 60 | + |
| 61 | + * *Files 1% similar despite different names* |
| 62 | + |
| 63 | +```diff |
| 64 | +@@ -1,10 +1,10 @@ |
| 65 | + Metadata-Version: 2.1 |
| 66 | + Name: Jvav |
| 67 | +-Version: 1.9.3 |
| 68 | ++Version: 1.9.4 |
| 69 | + Summary: Useful tools for Jav. |
| 70 | + Home-page: https://github.com/akynazh/jvav |
| 71 | + Download-URL: https://github.com/akynazh/jvav/releases/latest |
| 72 | + Author: akynazh |
| 73 | + |
| 74 | + License: GPLv3 |
| 75 | + Project-URL: Tracker, https://github.com/akynazh/jvav/issues |
| 76 | +``` |
| 77 | + |
| 78 | +#### html2text {} |
| 79 | + |
| 80 | +```diff |
| 81 | +@@ -1,8 +1,8 @@ |
| 82 | +-Metadata-Version: 2.1 Name: Jvav Version: 1.9.3 Summary: Useful tools for Jav. |
| 83 | ++Metadata-Version: 2.1 Name: Jvav Version: 1.9.4 Summary: Useful tools for Jav. |
| 84 | + Home-page: https://github.com/akynazh/jvav Download-URL: https://github.com/ |
| 85 | + akynazh/jvav/releases/latest Author: akynazh Author-email: [email protected] |
| 86 | + License: GPLv3 Project-URL: Tracker, https://github.com/akynazh/jvav/issues |
| 87 | + Project-URL: Source, https://github.com/akynazh/jvav Keywords: jav japan av api |
| 88 | + library python spider Classifier: License :: OSI Approved :: GNU General Public |
| 89 | + License v3 (GPLv3) Classifier: Operating System :: OS Independent Classifier: |
| 90 | + Programming Language :: Python :: 3 Classifier: Topic :: Internet :: WWW/HTTP |
| 91 | +``` |
| 92 | + |
| 93 | +### Comparing `Jvav-1.9.3/Jvav.egg-info/requires.txt` & `Jvav-1.9.4/Jvav.egg-info/requires.txt` |
| 94 | + |
| 95 | + * *Files identical despite different names* |
| 96 | + |
| 97 | +### Comparing `Jvav-1.9.3/LICENSE` & `Jvav-1.9.4/LICENSE` |
| 98 | + |
| 99 | + * *Files identical despite different names* |
| 100 | + |
| 101 | +### Comparing `Jvav-1.9.3/PKG-INFO` & `Jvav-1.9.4/PKG-INFO` |
| 102 | + |
| 103 | + * *Files 1% similar despite different names* |
| 104 | + |
| 105 | +```diff |
| 106 | +@@ -1,10 +1,10 @@ |
| 107 | + Metadata-Version: 2.1 |
| 108 | + Name: Jvav |
| 109 | +-Version: 1.9.3 |
| 110 | ++Version: 1.9.4 |
| 111 | + Summary: Useful tools for Jav. |
| 112 | + Home-page: https://github.com/akynazh/jvav |
| 113 | + Download-URL: https://github.com/akynazh/jvav/releases/latest |
| 114 | + Author: akynazh |
| 115 | + |
| 116 | + License: GPLv3 |
| 117 | + Project-URL: Tracker, https://github.com/akynazh/jvav/issues |
| 118 | +``` |
| 119 | + |
| 120 | +#### html2text {} |
| 121 | + |
| 122 | +```diff |
| 123 | +@@ -1,8 +1,8 @@ |
| 124 | +-Metadata-Version: 2.1 Name: Jvav Version: 1.9.3 Summary: Useful tools for Jav. |
| 125 | ++Metadata-Version: 2.1 Name: Jvav Version: 1.9.4 Summary: Useful tools for Jav. |
| 126 | + Home-page: https://github.com/akynazh/jvav Download-URL: https://github.com/ |
| 127 | + akynazh/jvav/releases/latest Author: akynazh Author-email: [email protected] |
| 128 | + License: GPLv3 Project-URL: Tracker, https://github.com/akynazh/jvav/issues |
| 129 | + Project-URL: Source, https://github.com/akynazh/jvav Keywords: jav japan av api |
| 130 | + library python spider Classifier: License :: OSI Approved :: GNU General Public |
| 131 | + License v3 (GPLv3) Classifier: Operating System :: OS Independent Classifier: |
| 132 | + Programming Language :: Python :: 3 Classifier: Topic :: Internet :: WWW/HTTP |
| 133 | +``` |
| 134 | + |
| 135 | +### Comparing `Jvav-1.9.3/README.md` & `Jvav-1.9.4/README.md` |
| 136 | + |
| 137 | + * *Files identical despite different names* |
| 138 | + |
| 139 | +### Comparing `Jvav-1.9.3/jvav/cmd.py` & `Jvav-1.9.4/jvav/cmd.py` |
| 140 | + |
| 141 | + * *Files identical despite different names* |
| 142 | + |
| 143 | +### Comparing `Jvav-1.9.3/jvav/utils.py` & `Jvav-1.9.4/jvav/utils.py` |
| 144 | + |
| 145 | + * *Files 0% similar despite different names* |
| 146 | + |
| 147 | +```diff |
| 148 | +@@ -232,29 +232,31 @@ |
| 149 | + if not url: |
| 150 | + return 404, None |
| 151 | + return 200, f"{self.BASE_URL}{url}" |
| 152 | + except Exception as e: |
| 153 | + self.log.error(f"JavDbUtil: 获取预览图片: {e}") |
| 154 | + return 404, None |
| 155 | + |
| 156 | +- def fuzzy_search_stars(self, text) -> typing.Tuple[int, list]: |
| 157 | ++ def fuzzy_search_stars(self, text) -> typing.Tuple[int, any]: |
| 158 | + """模糊搜索演员 |
| 159 | + |
| 160 | + :param str text: 演员名称 |
| 161 | + :return typing.Tuple[int, list]: 状态码和演员列表 |
| 162 | + """ |
| 163 | + code, resp = self.send_req(url=JavDbUtil.BASE_URL_SEARCH_STAR + text) |
| 164 | + if code != 200: |
| 165 | + return code, None |
| 166 | + try: |
| 167 | + soup = self.get_soup(resp) |
| 168 | + actor_boxs = soup.find_all(class_="actor-box") |
| 169 | + names = [box.find("a")["title"] for box in actor_boxs] |
| 170 | + if not names: |
| 171 | + return 404, None |
| 172 | ++ names = [name.split(',')[0] for name in names] |
| 173 | ++ names = list(set(names)) |
| 174 | + return 200, names |
| 175 | + except Exception as e: |
| 176 | + self.log.error(f"JavDbUtil: 模糊搜索演员: {e}") |
| 177 | + return 404, None |
| 178 | + |
| 179 | + def get_id_by_star_name(self, star_name: str, page=-1) -> typing.Tuple[int, str]: |
| 180 | + """根据演员名称获取一个番号 |
| 181 | +@@ -1434,14 +1436,15 @@ |
| 182 | + return code, None |
| 183 | + try: |
| 184 | + soup = self.get_soup(resp) |
| 185 | + actor_boxs = soup.find_all(class_="avatar-box text-center") |
| 186 | + names = [box.find("img")["title"] for box in actor_boxs] |
| 187 | + if not names: |
| 188 | + return 404, None |
| 189 | ++ names = list(set(names)) |
| 190 | + return 200, names |
| 191 | + except Exception as e: |
| 192 | + self.log.error(f"JavDbUtil: 模糊搜索演员: {e}") |
| 193 | + return 404, None |
| 194 | + |
| 195 | + def get_av_by_id( |
| 196 | + self, |
| 197 | +``` |
| 198 | + |
| 199 | +### Comparing `Jvav-1.9.3/requirements.txt` & `Jvav-1.9.4/requirements.txt` |
| 200 | + |
| 201 | + * *Files identical despite different names* |
| 202 | + |
| 203 | +### Comparing `Jvav-1.9.3/setup.py` & `Jvav-1.9.4/setup.py` |
| 204 | + |
| 205 | + * *Files 1% similar despite different names* |
| 206 | + |
| 207 | +```diff |
| 208 | +@@ -5,15 +5,15 @@ |
| 209 | + requires = [i.strip() for i in r] |
| 210 | + |
| 211 | + with open("README.md", encoding="utf-8") as f: |
| 212 | + readme = f.read() |
| 213 | + |
| 214 | + setup( |
| 215 | + name="Jvav", |
| 216 | +- version="1.9.3", |
| 217 | ++ version="1.9.4", |
| 218 | + description="Useful tools for Jav.", |
| 219 | + long_description=readme, |
| 220 | + long_description_content_type="text/markdown", |
| 221 | + url="https://github.com/akynazh/jvav", |
| 222 | + download_url="https://github.com/akynazh/jvav/releases/latest", |
| 223 | + author="akynazh", |
| 224 | + |
| 225 | +``` |
| 226 | + |
0 commit comments