wet-mcp 1.2.0__py3-none-any.whl → 1.2.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,16 +28,17 @@ async def extract(
28
28
  browser_config = BrowserConfig(
29
29
  headless=True,
30
30
  enable_stealth=stealth,
31
+ verbose=False,
31
32
  )
32
33
 
33
34
  results = []
34
35
 
35
- async with AsyncWebCrawler(config=browser_config) as crawler:
36
+ async with AsyncWebCrawler(verbose=False, config=browser_config) as crawler:
36
37
  for url in urls:
37
38
  try:
38
39
  result = await crawler.arun(
39
40
  url,
40
- config=CrawlerRunConfig(),
41
+ config=CrawlerRunConfig(verbose=False),
41
42
  )
42
43
 
43
44
  if result.success:
@@ -102,12 +103,13 @@ async def crawl(
102
103
  browser_config = BrowserConfig(
103
104
  headless=True,
104
105
  enable_stealth=stealth,
106
+ verbose=False,
105
107
  )
106
108
 
107
109
  all_results = []
108
110
  visited = set()
109
111
 
110
- async with AsyncWebCrawler(config=browser_config) as crawler:
112
+ async with AsyncWebCrawler(verbose=False, config=browser_config) as crawler:
111
113
  for root_url in urls:
112
114
  to_crawl = [(root_url, 0)]
113
115
 
@@ -122,7 +124,7 @@ async def crawl(
122
124
  try:
123
125
  result = await crawler.arun(
124
126
  url,
125
- config=CrawlerRunConfig(),
127
+ config=CrawlerRunConfig(verbose=False),
126
128
  )
127
129
 
128
130
  if result.success:
@@ -179,12 +181,12 @@ async def sitemap(
179
181
 
180
182
  logger.info(f"Mapping {len(urls)} URLs")
181
183
 
182
- browser_config = BrowserConfig(headless=True)
184
+ browser_config = BrowserConfig(headless=True, verbose=False)
183
185
 
184
186
  all_urls = []
185
187
  visited = set()
186
188
 
187
- async with AsyncWebCrawler(config=browser_config) as crawler:
189
+ async with AsyncWebCrawler(verbose=False, config=browser_config) as crawler:
188
190
  for root_url in urls:
189
191
  to_visit = [(root_url, 0)]
190
192
  site_urls = []
@@ -201,7 +203,7 @@ async def sitemap(
201
203
  try:
202
204
  result = await crawler.arun(
203
205
  url,
204
- config=CrawlerRunConfig(),
206
+ config=CrawlerRunConfig(verbose=False),
205
207
  )
206
208
 
207
209
  if result.success and current_depth < depth:
@@ -237,12 +239,12 @@ async def list_media(
237
239
 
238
240
  logger.info(f"Listing media from: {url}")
239
241
 
240
- browser_config = BrowserConfig(headless=True)
242
+ browser_config = BrowserConfig(headless=True, verbose=False)
241
243
 
242
- async with AsyncWebCrawler(config=browser_config) as crawler:
244
+ async with AsyncWebCrawler(verbose=False, config=browser_config) as crawler:
243
245
  result = await crawler.arun(
244
246
  url,
245
- config=CrawlerRunConfig(),
247
+ config=CrawlerRunConfig(verbose=False),
246
248
  )
247
249
 
248
250
  if not result.success:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wet-mcp
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: Open-source MCP Server thay thế Tavily - Web search, extract, crawl với SearXNG
5
5
  Project-URL: Homepage, https://github.com/n24q02m/wet-mcp
6
6
  Project-URL: Repository, https://github.com/n24q02m/wet-mcp.git
@@ -11,10 +11,10 @@ wet_mcp/docs/help.md,sha256=K91uveU6hM_tWBR9iqgn6_g0rt9h1h2zyEA3RMefeks,1428
11
11
  wet_mcp/docs/media.md,sha256=NPgHqUvjncIjc7hieZnka5cvlcrfBWgjSVxompBxizY,1279
12
12
  wet_mcp/docs/web.md,sha256=Ts7hBo_TEBcfT10iscag9-PxAKUkhhiaywricUTj3to,1691
13
13
  wet_mcp/sources/__init__.py,sha256=NzIac1ha0nZR93Uivsq0GqBxdJrfm0q83IQAPeip4I4,42
14
- wet_mcp/sources/crawler.py,sha256=qjGQZjcgKXc8DftnUXInJin8-Nn87rSa8T_0EClcCT0,9717
14
+ wet_mcp/sources/crawler.py,sha256=9h8b46hqQ7IAncRZvzc6BdEyzib8Xhogt0J3KhIM_5Q,9905
15
15
  wet_mcp/sources/searxng.py,sha256=147yRT75vD2E5GdvYceoTqGRTqqCo8W1tpjXsZRaUhw,2029
16
- wet_mcp-1.2.0.dist-info/METADATA,sha256=KTmxqwvNOzOJ6baX4p3yC6_bL8p_8_v_E_HWRTx0nYU,6531
17
- wet_mcp-1.2.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
18
- wet_mcp-1.2.0.dist-info/entry_points.txt,sha256=MvjtmQDh--zOPfnE-21Q861RFRLkE1xDbcTGAgURT_Y,41
19
- wet_mcp-1.2.0.dist-info/licenses/LICENSE,sha256=d7xQ6sRyeGus6gnvwgqiQtSY7XdFw0Jd0w5-Co_xHnk,1064
20
- wet_mcp-1.2.0.dist-info/RECORD,,
16
+ wet_mcp-1.2.1.dist-info/METADATA,sha256=1jNB7XD2VkqjqGAbh8Oc0SLCIDNWKgq271k3PgRZExg,6531
17
+ wet_mcp-1.2.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
18
+ wet_mcp-1.2.1.dist-info/entry_points.txt,sha256=MvjtmQDh--zOPfnE-21Q861RFRLkE1xDbcTGAgURT_Y,41
19
+ wet_mcp-1.2.1.dist-info/licenses/LICENSE,sha256=d7xQ6sRyeGus6gnvwgqiQtSY7XdFw0Jd0w5-Co_xHnk,1064
20
+ wet_mcp-1.2.1.dist-info/RECORD,,