webscout 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.

Potentially problematic release.


This version of webscout might be problematic. Click here for more details.

webscout/version.py CHANGED
@@ -1,2 +1,2 @@
1
- __version__ = "1.2.0"
1
+ __version__ = "1.2.1"
2
2
 
@@ -1,14 +1,15 @@
1
1
  import asyncio
2
2
  from concurrent.futures import Future
3
3
  from threading import Thread
4
+ import sys
4
5
  from types import TracebackType
5
6
  from typing import Any, Awaitable, Dict, Optional, Type, Union
6
- # Attempt to set the event loop policy to WindowsSelectorEventLoopPolicy
7
- try:
8
- asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
9
- except AttributeError:
10
- # Fall back to ProactorEventLoopPolicy if WindowsSelectorEventLoopPolicy is not available
11
- asyncio.set_event_loop_policy(asyncio.ProactorEventLoopPolicy())
7
+ if sys.platform == 'win32':
8
+ try:
9
+ asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
10
+ except AttributeError:
11
+ # If WindowsSelectorEventLoopPolicy is not available, do nothing
12
+ pass
12
13
  from .webscout_search_async import AsyncWEBS
13
14
 
14
15
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: webscout
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: Search for words, documents, images, videos, news, maps and text translation using the DuckDuckGo.com, yep.com, phind.com, you.com, etc Also containes AI models
5
5
  Author: OEvortex
6
6
  Author-email: helpingai5@gmail.com
@@ -9,12 +9,12 @@ webscout/cli.py,sha256=F888fdrFUQgczMBN4yMOSf6Nh-IbvkqpPhDsbnA2FtQ,17059
9
9
  webscout/exceptions.py,sha256=4AOO5wexeL96nvUS-badcckcwrPS7UpZyAgB9vknHZE,276
10
10
  webscout/models.py,sha256=5iQIdtedT18YuTZ3npoG7kLMwcrKwhQ7928dl_7qZW0,692
11
11
  webscout/utils.py,sha256=c_98M4oqpb54pUun3fpGGlCerFD6ZHUbghyp5b7Mwgo,2605
12
- webscout/version.py,sha256=Ee1cSSPe6RScmqsVKZ4qA-7h6Dii0vXoeCdqGpYMmTQ,25
13
- webscout/webscout_search.py,sha256=RFB8OvDucLCyka1Uex5bXosmVfQYvXf0U4MLLwz6Ar4,3183
12
+ webscout/version.py,sha256=O7Fj-NiGjQvXFncfoqksmWe28FBjunBGo8HwmRXvalw,25
13
+ webscout/webscout_search.py,sha256=3_lli-hDb8_kCGwscK29xuUcOS833ROgpNhDzrxh0dk,3085
14
14
  webscout/webscout_search_async.py,sha256=Y5frH0k3hLqBCR-8dn7a_b7EvxdYxn6wHiKl3jWosE0,40670
15
- webscout-1.2.0.dist-info/LICENSE.md,sha256=mRVwJuT4SXC5O93BFdsfWBjlXjGn2Np90Zm5SocUzM0,3150
16
- webscout-1.2.0.dist-info/METADATA,sha256=nQlRl769wznwJDzNLUN-xgCjBaQpmcbv1h6uSp6kpkw,24121
17
- webscout-1.2.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
18
- webscout-1.2.0.dist-info/entry_points.txt,sha256=8-93eRslYrzTHs5E-6yFRJrve00C9q-SkXJD113jzRY,197
19
- webscout-1.2.0.dist-info/top_level.txt,sha256=nYIw7OKBQDr_Z33IzZUKidRD3zQEo8jOJYkMVMeN334,9
20
- webscout-1.2.0.dist-info/RECORD,,
15
+ webscout-1.2.1.dist-info/LICENSE.md,sha256=mRVwJuT4SXC5O93BFdsfWBjlXjGn2Np90Zm5SocUzM0,3150
16
+ webscout-1.2.1.dist-info/METADATA,sha256=FY50l_qZzzwo9fGwK6WFBLAEaDS0Db0AFVfcODFuDOA,24121
17
+ webscout-1.2.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
18
+ webscout-1.2.1.dist-info/entry_points.txt,sha256=8-93eRslYrzTHs5E-6yFRJrve00C9q-SkXJD113jzRY,197
19
+ webscout-1.2.1.dist-info/top_level.txt,sha256=nYIw7OKBQDr_Z33IzZUKidRD3zQEo8jOJYkMVMeN334,9
20
+ webscout-1.2.1.dist-info/RECORD,,