webscout 6.8__tar.gz → 6.9__tar.gz

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.

Files changed (199) hide show
  1. {webscout-6.8/webscout.egg-info → webscout-6.9}/PKG-INFO +4 -32
  2. {webscout-6.8 → webscout-6.9}/README.md +1 -31
  3. {webscout-6.8 → webscout-6.9}/setup.py +2 -0
  4. {webscout-6.8 → webscout-6.9}/webscout/Extra/YTToolkit/YTdownloader.py +7 -2
  5. {webscout-6.8 → webscout-6.9}/webscout/Extra/YTToolkit/ytapi/channel.py +1 -1
  6. {webscout-6.8 → webscout-6.9}/webscout/Extra/YTToolkit/ytapi/query.py +3 -0
  7. {webscout-6.8 → webscout-6.9}/webscout/Extra/YTToolkit/ytapi/stream.py +3 -0
  8. {webscout-6.8 → webscout-6.9}/webscout/Extra/YTToolkit/ytapi/video.py +3 -1
  9. {webscout-6.8 → webscout-6.9}/webscout/Provider/__init__.py +0 -2
  10. {webscout-6.8 → webscout-6.9}/webscout/Provider/cerebras.py +3 -3
  11. {webscout-6.8 → webscout-6.9}/webscout/__init__.py +0 -1
  12. {webscout-6.8 → webscout-6.9}/webscout/swiftcli/__init__.py +1 -0
  13. {webscout-6.8 → webscout-6.9}/webscout/version.py +1 -1
  14. {webscout-6.8 → webscout-6.9}/webscout/webscout_search.py +1140 -1104
  15. webscout-6.9/webscout/webscout_search_async.py +636 -0
  16. {webscout-6.8 → webscout-6.9/webscout.egg-info}/PKG-INFO +4 -32
  17. {webscout-6.8 → webscout-6.9}/webscout.egg-info/SOURCES.txt +0 -3
  18. {webscout-6.8 → webscout-6.9}/webscout.egg-info/requires.txt +2 -0
  19. webscout-6.8/webscout/Extra/markdownlite/__init__.py +0 -862
  20. webscout-6.8/webscout/Provider/Deepseek.py +0 -227
  21. webscout-6.8/webscout/webscout_search_async.py +0 -362
  22. webscout-6.8/webscout/zerodir/__init__.py +0 -225
  23. {webscout-6.8 → webscout-6.9}/LICENSE.md +0 -0
  24. {webscout-6.8 → webscout-6.9}/setup.cfg +0 -0
  25. {webscout-6.8 → webscout-6.9}/webscout/AIauto.py +0 -0
  26. {webscout-6.8 → webscout-6.9}/webscout/AIbase.py +0 -0
  27. {webscout-6.8 → webscout-6.9}/webscout/AIutel.py +0 -0
  28. {webscout-6.8 → webscout-6.9}/webscout/Bard.py +0 -0
  29. {webscout-6.8 → webscout-6.9}/webscout/DWEBS.py +0 -0
  30. {webscout-6.8 → webscout-6.9}/webscout/Extra/YTToolkit/__init__.py +0 -0
  31. {webscout-6.8 → webscout-6.9}/webscout/Extra/YTToolkit/transcriber.py +0 -0
  32. {webscout-6.8 → webscout-6.9}/webscout/Extra/YTToolkit/ytapi/__init__.py +0 -0
  33. {webscout-6.8 → webscout-6.9}/webscout/Extra/YTToolkit/ytapi/errors.py +0 -0
  34. {webscout-6.8 → webscout-6.9}/webscout/Extra/YTToolkit/ytapi/extras.py +0 -0
  35. {webscout-6.8 → webscout-6.9}/webscout/Extra/YTToolkit/ytapi/https.py +0 -0
  36. {webscout-6.8 → webscout-6.9}/webscout/Extra/YTToolkit/ytapi/patterns.py +0 -0
  37. {webscout-6.8 → webscout-6.9}/webscout/Extra/YTToolkit/ytapi/playlist.py +0 -0
  38. {webscout-6.8 → webscout-6.9}/webscout/Extra/YTToolkit/ytapi/pool.py +0 -0
  39. {webscout-6.8 → webscout-6.9}/webscout/Extra/YTToolkit/ytapi/utils.py +0 -0
  40. {webscout-6.8 → webscout-6.9}/webscout/Extra/__init__.py +0 -0
  41. {webscout-6.8 → webscout-6.9}/webscout/Extra/autocoder/__init__.py +0 -0
  42. {webscout-6.8 → webscout-6.9}/webscout/Extra/autocoder/autocoder_utiles.py +0 -0
  43. {webscout-6.8 → webscout-6.9}/webscout/Extra/autocoder/rawdog.py +0 -0
  44. {webscout-6.8 → webscout-6.9}/webscout/Extra/autollama.py +0 -0
  45. {webscout-6.8 → webscout-6.9}/webscout/Extra/gguf.py +0 -0
  46. {webscout-6.8 → webscout-6.9}/webscout/Extra/weather.py +0 -0
  47. {webscout-6.8 → webscout-6.9}/webscout/Extra/weather_ascii.py +0 -0
  48. {webscout-6.8 → webscout-6.9}/webscout/LLM.py +0 -0
  49. {webscout-6.8 → webscout-6.9}/webscout/Litlogger/__init__.py +0 -0
  50. {webscout-6.8 → webscout-6.9}/webscout/Local/__init__.py +0 -0
  51. {webscout-6.8 → webscout-6.9}/webscout/Local/_version.py +0 -0
  52. {webscout-6.8 → webscout-6.9}/webscout/Local/formats.py +0 -0
  53. {webscout-6.8 → webscout-6.9}/webscout/Local/model.py +0 -0
  54. {webscout-6.8 → webscout-6.9}/webscout/Local/samplers.py +0 -0
  55. {webscout-6.8 → webscout-6.9}/webscout/Local/thread.py +0 -0
  56. {webscout-6.8 → webscout-6.9}/webscout/Local/ui.py +0 -0
  57. {webscout-6.8 → webscout-6.9}/webscout/Local/utils.py +0 -0
  58. {webscout-6.8 → webscout-6.9}/webscout/Provider/AI21.py +0 -0
  59. {webscout-6.8 → webscout-6.9}/webscout/Provider/AISEARCH/__init__.py +0 -0
  60. {webscout-6.8 → webscout-6.9}/webscout/Provider/AISEARCH/felo_search.py +0 -0
  61. {webscout-6.8 → webscout-6.9}/webscout/Provider/AISEARCH/ooai.py +0 -0
  62. {webscout-6.8 → webscout-6.9}/webscout/Provider/Amigo.py +0 -0
  63. {webscout-6.8 → webscout-6.9}/webscout/Provider/Andi.py +0 -0
  64. {webscout-6.8 → webscout-6.9}/webscout/Provider/Bing.py +0 -0
  65. {webscout-6.8 → webscout-6.9}/webscout/Provider/Blackboxai.py +0 -0
  66. {webscout-6.8 → webscout-6.9}/webscout/Provider/ChatGPTES.py +0 -0
  67. {webscout-6.8 → webscout-6.9}/webscout/Provider/Chatify.py +0 -0
  68. {webscout-6.8 → webscout-6.9}/webscout/Provider/Cloudflare.py +0 -0
  69. {webscout-6.8 → webscout-6.9}/webscout/Provider/Cohere.py +0 -0
  70. {webscout-6.8 → webscout-6.9}/webscout/Provider/DARKAI.py +0 -0
  71. {webscout-6.8 → webscout-6.9}/webscout/Provider/Deepinfra.py +0 -0
  72. {webscout-6.8 → webscout-6.9}/webscout/Provider/DiscordRocks.py +0 -0
  73. {webscout-6.8 → webscout-6.9}/webscout/Provider/EDITEE.py +0 -0
  74. {webscout-6.8 → webscout-6.9}/webscout/Provider/Free2GPT.py +0 -0
  75. {webscout-6.8 → webscout-6.9}/webscout/Provider/GPTWeb.py +0 -0
  76. {webscout-6.8 → webscout-6.9}/webscout/Provider/Gemini.py +0 -0
  77. {webscout-6.8 → webscout-6.9}/webscout/Provider/Groq.py +0 -0
  78. {webscout-6.8 → webscout-6.9}/webscout/Provider/Jadve.py +0 -0
  79. {webscout-6.8 → webscout-6.9}/webscout/Provider/Koboldai.py +0 -0
  80. {webscout-6.8 → webscout-6.9}/webscout/Provider/Llama.py +0 -0
  81. {webscout-6.8 → webscout-6.9}/webscout/Provider/Llama3.py +0 -0
  82. {webscout-6.8 → webscout-6.9}/webscout/Provider/Marcus.py +0 -0
  83. {webscout-6.8 → webscout-6.9}/webscout/Provider/Netwrck.py +0 -0
  84. {webscout-6.8 → webscout-6.9}/webscout/Provider/OLLAMA.py +0 -0
  85. {webscout-6.8 → webscout-6.9}/webscout/Provider/Openai.py +0 -0
  86. {webscout-6.8 → webscout-6.9}/webscout/Provider/PI.py +0 -0
  87. {webscout-6.8 → webscout-6.9}/webscout/Provider/Phind.py +0 -0
  88. {webscout-6.8 → webscout-6.9}/webscout/Provider/PizzaGPT.py +0 -0
  89. {webscout-6.8 → webscout-6.9}/webscout/Provider/RUBIKSAI.py +0 -0
  90. {webscout-6.8 → webscout-6.9}/webscout/Provider/Reka.py +0 -0
  91. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/AiForce/__init__.py +0 -0
  92. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/AiForce/async_aiforce.py +0 -0
  93. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/AiForce/sync_aiforce.py +0 -0
  94. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/Nexra/__init__.py +0 -0
  95. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/Nexra/async_nexra.py +0 -0
  96. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/Nexra/sync_nexra.py +0 -0
  97. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/PollinationsAI/__init__.py +0 -0
  98. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/PollinationsAI/async_pollinations.py +0 -0
  99. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/PollinationsAI/sync_pollinations.py +0 -0
  100. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/__init__.py +0 -0
  101. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/artbit/__init__.py +0 -0
  102. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/artbit/async_artbit.py +0 -0
  103. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/artbit/sync_artbit.py +0 -0
  104. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/blackbox/__init__.py +0 -0
  105. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/blackbox/async_blackbox.py +0 -0
  106. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/blackbox/sync_blackbox.py +0 -0
  107. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/deepinfra/__init__.py +0 -0
  108. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/deepinfra/async_deepinfra.py +0 -0
  109. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/deepinfra/sync_deepinfra.py +0 -0
  110. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/huggingface/__init__.py +0 -0
  111. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/huggingface/async_huggingface.py +0 -0
  112. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/huggingface/sync_huggingface.py +0 -0
  113. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/imgninza/__init__.py +0 -0
  114. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/imgninza/async_ninza.py +0 -0
  115. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/imgninza/sync_ninza.py +0 -0
  116. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/talkai/__init__.py +0 -0
  117. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/talkai/async_talkai.py +0 -0
  118. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTI/talkai/sync_talkai.py +0 -0
  119. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTS/__init__.py +0 -0
  120. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTS/deepgram.py +0 -0
  121. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTS/elevenlabs.py +0 -0
  122. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTS/gesserit.py +0 -0
  123. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTS/murfai.py +0 -0
  124. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTS/parler.py +0 -0
  125. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTS/streamElements.py +0 -0
  126. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTS/utils.py +0 -0
  127. {webscout-6.8 → webscout-6.9}/webscout/Provider/TTS/voicepod.py +0 -0
  128. {webscout-6.8 → webscout-6.9}/webscout/Provider/TeachAnything.py +0 -0
  129. {webscout-6.8 → webscout-6.9}/webscout/Provider/Youchat.py +0 -0
  130. {webscout-6.8 → webscout-6.9}/webscout/Provider/ai4chat.py +0 -0
  131. {webscout-6.8 → webscout-6.9}/webscout/Provider/aimathgpt.py +0 -0
  132. {webscout-6.8 → webscout-6.9}/webscout/Provider/askmyai.py +0 -0
  133. {webscout-6.8 → webscout-6.9}/webscout/Provider/bagoodex.py +0 -0
  134. {webscout-6.8 → webscout-6.9}/webscout/Provider/cleeai.py +0 -0
  135. {webscout-6.8 → webscout-6.9}/webscout/Provider/elmo.py +0 -0
  136. {webscout-6.8 → webscout-6.9}/webscout/Provider/gaurish.py +0 -0
  137. {webscout-6.8 → webscout-6.9}/webscout/Provider/geminiapi.py +0 -0
  138. {webscout-6.8 → webscout-6.9}/webscout/Provider/geminiprorealtime.py +0 -0
  139. {webscout-6.8 → webscout-6.9}/webscout/Provider/julius.py +0 -0
  140. {webscout-6.8 → webscout-6.9}/webscout/Provider/koala.py +0 -0
  141. {webscout-6.8 → webscout-6.9}/webscout/Provider/learnfastai.py +0 -0
  142. {webscout-6.8 → webscout-6.9}/webscout/Provider/lepton.py +0 -0
  143. {webscout-6.8 → webscout-6.9}/webscout/Provider/llama3mitril.py +0 -0
  144. {webscout-6.8 → webscout-6.9}/webscout/Provider/llamatutor.py +0 -0
  145. {webscout-6.8 → webscout-6.9}/webscout/Provider/llmchat.py +0 -0
  146. {webscout-6.8 → webscout-6.9}/webscout/Provider/meta.py +0 -0
  147. {webscout-6.8 → webscout-6.9}/webscout/Provider/multichat.py +0 -0
  148. {webscout-6.8 → webscout-6.9}/webscout/Provider/promptrefine.py +0 -0
  149. {webscout-6.8 → webscout-6.9}/webscout/Provider/talkai.py +0 -0
  150. {webscout-6.8 → webscout-6.9}/webscout/Provider/turboseek.py +0 -0
  151. {webscout-6.8 → webscout-6.9}/webscout/Provider/tutorai.py +0 -0
  152. {webscout-6.8 → webscout-6.9}/webscout/Provider/typegpt.py +0 -0
  153. {webscout-6.8 → webscout-6.9}/webscout/Provider/x0gpt.py +0 -0
  154. {webscout-6.8 → webscout-6.9}/webscout/Provider/yep.py +0 -0
  155. {webscout-6.8 → webscout-6.9}/webscout/__main__.py +0 -0
  156. {webscout-6.8 → webscout-6.9}/webscout/cli.py +0 -0
  157. {webscout-6.8 → webscout-6.9}/webscout/conversation.py +0 -0
  158. {webscout-6.8 → webscout-6.9}/webscout/exceptions.py +0 -0
  159. {webscout-6.8 → webscout-6.9}/webscout/litagent/__init__.py +0 -0
  160. {webscout-6.8 → webscout-6.9}/webscout/litprinter/__init__.py +0 -0
  161. {webscout-6.8 → webscout-6.9}/webscout/litprinter/colors.py +0 -0
  162. {webscout-6.8 → webscout-6.9}/webscout/optimizers.py +0 -0
  163. {webscout-6.8 → webscout-6.9}/webscout/prompt_manager.py +0 -0
  164. {webscout-6.8 → webscout-6.9}/webscout/scout/__init__.py +0 -0
  165. {webscout-6.8 → webscout-6.9}/webscout/scout/core/__init__.py +0 -0
  166. {webscout-6.8 → webscout-6.9}/webscout/scout/core/crawler.py +0 -0
  167. {webscout-6.8 → webscout-6.9}/webscout/scout/core/scout.py +0 -0
  168. {webscout-6.8 → webscout-6.9}/webscout/scout/core/search_result.py +0 -0
  169. {webscout-6.8 → webscout-6.9}/webscout/scout/core/text_analyzer.py +0 -0
  170. {webscout-6.8 → webscout-6.9}/webscout/scout/core/text_utils.py +0 -0
  171. {webscout-6.8 → webscout-6.9}/webscout/scout/core/web_analyzer.py +0 -0
  172. {webscout-6.8 → webscout-6.9}/webscout/scout/core.py +0 -0
  173. {webscout-6.8 → webscout-6.9}/webscout/scout/element.py +0 -0
  174. {webscout-6.8 → webscout-6.9}/webscout/scout/parsers/__init__.py +0 -0
  175. {webscout-6.8 → webscout-6.9}/webscout/scout/parsers/html5lib_parser.py +0 -0
  176. {webscout-6.8 → webscout-6.9}/webscout/scout/parsers/html_parser.py +0 -0
  177. {webscout-6.8 → webscout-6.9}/webscout/scout/parsers/lxml_parser.py +0 -0
  178. {webscout-6.8 → webscout-6.9}/webscout/scout/utils.py +0 -0
  179. {webscout-6.8 → webscout-6.9}/webscout/tempid.py +0 -0
  180. {webscout-6.8 → webscout-6.9}/webscout/update_checker.py +0 -0
  181. {webscout-6.8 → webscout-6.9}/webscout/utils.py +0 -0
  182. {webscout-6.8 → webscout-6.9}/webscout/zeroart/__init__.py +0 -0
  183. {webscout-6.8 → webscout-6.9}/webscout/zeroart/base.py +0 -0
  184. {webscout-6.8 → webscout-6.9}/webscout/zeroart/effects.py +0 -0
  185. {webscout-6.8 → webscout-6.9}/webscout/zeroart/fonts.py +0 -0
  186. {webscout-6.8 → webscout-6.9}/webscout.egg-info/dependency_links.txt +0 -0
  187. {webscout-6.8 → webscout-6.9}/webscout.egg-info/entry_points.txt +0 -0
  188. {webscout-6.8 → webscout-6.9}/webscout.egg-info/top_level.txt +0 -0
  189. {webscout-6.8 → webscout-6.9}/webstoken/__init__.py +0 -0
  190. {webscout-6.8 → webscout-6.9}/webstoken/classifier.py +0 -0
  191. {webscout-6.8 → webscout-6.9}/webstoken/keywords.py +0 -0
  192. {webscout-6.8 → webscout-6.9}/webstoken/language.py +0 -0
  193. {webscout-6.8 → webscout-6.9}/webstoken/ner.py +0 -0
  194. {webscout-6.8 → webscout-6.9}/webstoken/normalizer.py +0 -0
  195. {webscout-6.8 → webscout-6.9}/webstoken/processor.py +0 -0
  196. {webscout-6.8 → webscout-6.9}/webstoken/sentiment.py +0 -0
  197. {webscout-6.8 → webscout-6.9}/webstoken/stemmer.py +0 -0
  198. {webscout-6.8 → webscout-6.9}/webstoken/tagger.py +0 -0
  199. {webscout-6.8 → webscout-6.9}/webstoken/tokenizer.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: webscout
3
- Version: 6.8
3
+ Version: 6.9
4
4
  Summary: Search for anything using Google, DuckDuckGo, phind.com, Contains AI models, can transcribe yt videos, temporary email and phone number generation, has TTS support, webai (terminal gpt and open interpreter) and offline LLMs and more
5
5
  Author: OEvortex
6
6
  Author-email: helpingai5@gmail.com
@@ -46,6 +46,8 @@ Requires-Dist: ollama
46
46
  Requires-Dist: pillow
47
47
  Requires-Dist: bson
48
48
  Requires-Dist: cloudscraper
49
+ Requires-Dist: html5lib
50
+ Requires-Dist: aiofiles
49
51
  Requires-Dist: emoji
50
52
  Requires-Dist: openai
51
53
  Requires-Dist: prompt-toolkit
@@ -107,9 +109,8 @@ Requires-Dist: unicorn; extra == "local"
107
109
  * **Tempmail & Temp Number:** Generate temporary email addresses and phone numbers for enhanced privacy.
108
110
  * **[Text-to-Speech (TTS)](webscout/Provider/TTS/README.md):** Convert text into natural-sounding speech using multiple AI-powered providers like ElevenLabs, StreamElements, and Voicepods.
109
111
  * **Offline LLMs:** Utilize powerful language models offline with GGUF support.
110
- * **Extensive Provider Ecosystem:** Explore a vast collection of providers, including BasedGPT, DeepSeek, and many others.
112
+ * **Extensive Provider Ecosystem:** Explore a vast collection of AI providers
111
113
  * **Local LLM Execution:** Run GGUF models locally with minimal configuration.
112
- * **Rawdog Scripting:** Execute Python scripts directly within your terminal using the `rawdog` feature.
113
114
  * **GGUF Conversion & Quantization:** Convert and quantize Hugging Face models to GGUF format.
114
115
  * **Autollama:** Download Hugging Face models and automatically convert them for Ollama compatibility.
115
116
  * **[SwiftCLI](webscout/swiftcli/Readme.md):** A powerful and elegant CLI framework that makes it easy to create beautiful command-line interfaces.
@@ -117,7 +118,6 @@ Requires-Dist: unicorn; extra == "local"
117
118
  * **[LitLogger](webscout/litlogger/Readme.md):** Simplifies logging with customizable formats and color schemes
118
119
  * **[LitAgent](webscout/litagent/Readme.md):** Powerful and modern user agent generator that keeps your requests fresh and undetectable
119
120
  * **[Text-to-Image](webscout/Provider/TTI/README.md):** Generate high-quality images using a wide range of AI art providers
120
- * **[MarkdownLite](webscout/Extra/markdownlite/README.md):** Powerful HTML to Markdown conversion library with advanced parsing and structured output
121
121
  * **[Scout](webscout/scout/README.md):** Advanced web parsing and crawling library with intelligent HTML/XML parsing, web crawling, and Markdown conversion
122
122
 
123
123
  ## ⚙️ Installation
@@ -967,34 +967,6 @@ response_str = a.chat(prompt)
967
967
  print(response_str)
968
968
  ```
969
969
 
970
- ### `DeepSeek` - Chat with DeepSeek
971
-
972
- ```python
973
- from webscout import DeepSeek
974
- from rich import print
975
-
976
- ai = DeepSeek(
977
- is_conversation=True,
978
- api_key='cookie',
979
- max_tokens=800,
980
- timeout=30,
981
- intro=None,
982
- filepath=None,
983
- update_file=True,
984
- proxies={},
985
- history_offset=10250,
986
- act=None,
987
- model="deepseek_chat"
988
- )
989
-
990
-
991
- # Define a prompt to send to the AI
992
- prompt = "Tell me about india"
993
- # Use the 'chat' method to send the prompt and receive a response
994
- r = ai.chat(prompt)
995
- print(r)
996
- ```
997
-
998
970
  ### `Deepinfra`
999
971
 
1000
972
  ```python
@@ -41,9 +41,8 @@
41
41
  * **Tempmail & Temp Number:** Generate temporary email addresses and phone numbers for enhanced privacy.
42
42
  * **[Text-to-Speech (TTS)](webscout/Provider/TTS/README.md):** Convert text into natural-sounding speech using multiple AI-powered providers like ElevenLabs, StreamElements, and Voicepods.
43
43
  * **Offline LLMs:** Utilize powerful language models offline with GGUF support.
44
- * **Extensive Provider Ecosystem:** Explore a vast collection of providers, including BasedGPT, DeepSeek, and many others.
44
+ * **Extensive Provider Ecosystem:** Explore a vast collection of AI providers
45
45
  * **Local LLM Execution:** Run GGUF models locally with minimal configuration.
46
- * **Rawdog Scripting:** Execute Python scripts directly within your terminal using the `rawdog` feature.
47
46
  * **GGUF Conversion & Quantization:** Convert and quantize Hugging Face models to GGUF format.
48
47
  * **Autollama:** Download Hugging Face models and automatically convert them for Ollama compatibility.
49
48
  * **[SwiftCLI](webscout/swiftcli/Readme.md):** A powerful and elegant CLI framework that makes it easy to create beautiful command-line interfaces.
@@ -51,7 +50,6 @@
51
50
  * **[LitLogger](webscout/litlogger/Readme.md):** Simplifies logging with customizable formats and color schemes
52
51
  * **[LitAgent](webscout/litagent/Readme.md):** Powerful and modern user agent generator that keeps your requests fresh and undetectable
53
52
  * **[Text-to-Image](webscout/Provider/TTI/README.md):** Generate high-quality images using a wide range of AI art providers
54
- * **[MarkdownLite](webscout/Extra/markdownlite/README.md):** Powerful HTML to Markdown conversion library with advanced parsing and structured output
55
53
  * **[Scout](webscout/scout/README.md):** Advanced web parsing and crawling library with intelligent HTML/XML parsing, web crawling, and Markdown conversion
56
54
 
57
55
  ## ⚙️ Installation
@@ -901,34 +899,6 @@ response_str = a.chat(prompt)
901
899
  print(response_str)
902
900
  ```
903
901
 
904
- ### `DeepSeek` - Chat with DeepSeek
905
-
906
- ```python
907
- from webscout import DeepSeek
908
- from rich import print
909
-
910
- ai = DeepSeek(
911
- is_conversation=True,
912
- api_key='cookie',
913
- max_tokens=800,
914
- timeout=30,
915
- intro=None,
916
- filepath=None,
917
- update_file=True,
918
- proxies={},
919
- history_offset=10250,
920
- act=None,
921
- model="deepseek_chat"
922
- )
923
-
924
-
925
- # Define a prompt to send to the AI
926
- prompt = "Tell me about india"
927
- # Use the 'chat' method to send the prompt and receive a response
928
- r = ai.chat(prompt)
929
- print(r)
930
- ```
931
-
932
902
  ### `Deepinfra`
933
903
 
934
904
  ```python
@@ -52,6 +52,8 @@ setup(
52
52
  "pillow",
53
53
  "bson",
54
54
  "cloudscraper",
55
+ "html5lib",
56
+ "aiofiles",
55
57
  "emoji",
56
58
  "openai",
57
59
  "prompt-toolkit",
@@ -12,10 +12,15 @@ from sys import stdout
12
12
  import os
13
13
  import subprocess
14
14
  import sys
15
+ import tempfile
15
16
  from webscout.version import __prog__, __version__
16
- from webscout.zerodir import user_cache_dir
17
17
  from webscout.swiftcli import CLI, option, argument, group
18
18
 
19
+ # Define cache directory using tempfile
20
+ user_cache_dir = os.path.join(tempfile.gettempdir(), 'webscout')
21
+ if not os.path.exists(user_cache_dir):
22
+ os.makedirs(user_cache_dir)
23
+
19
24
  logging = LitLogger(name="YTDownloader")
20
25
 
21
26
  session = requests.session()
@@ -32,7 +37,7 @@ session.headers.update(headers)
32
37
 
33
38
  get_excep = lambda e: e.args[1] if len(e.args) > 1 else e
34
39
 
35
- appdir = user_cache_dir(__prog__, __prog__)
40
+ appdir = user_cache_dir
36
41
 
37
42
  if not path.isdir(appdir):
38
43
  try:
@@ -304,4 +304,4 @@ class Channel:
304
304
  List[str] | None
305
305
  The ids of all playlists or None
306
306
  """
307
- return dup_filter(Patterns.playlists.findall(channel_playlists(self._target_url)))
307
+ return dup_filter(Patterns.playlists.findall(channel_playlists(self._target_url)))
@@ -35,3 +35,6 @@ class Search:
35
35
  @staticmethod
36
36
  def playlists(keywords: str, limit: int = 20) -> Optional[List[str]]:
37
37
  return dup_filter(Patterns.playlist_id.findall(find_playlists(keywords)), limit)
38
+
39
+ if __name__ == "__main__":
40
+ print(Search.videos("java"))
@@ -58,3 +58,6 @@ class Video:
58
58
  'tags': data[7].split(',') if data[7] else None,
59
59
  'description': data[8].replace('\\n', '\n') if data[8] else None
60
60
  }
61
+
62
+ if __name__ == '__main__':
63
+ print(Video('https://www.youtube.com/watch?v=9bZkp7q19f0').metadata)
@@ -99,4 +99,6 @@ class Video:
99
99
  data['genre'] = genre_pattern.search(self._video_data).group(1)
100
100
  except AttributeError:
101
101
  data['genre'] = None
102
- return data
102
+ return data
103
+ if __name__ == '__main__':
104
+ print(Video('https://www.youtube.com/watch?v=9bZkp7q19f0').metadata)
@@ -14,7 +14,6 @@ from .Phind import PhindSearch
14
14
  from .Phind import Phindv2
15
15
  from .ai4chat import *
16
16
  from .Gemini import GEMINI
17
- from .Deepseek import DeepSeek
18
17
  from .Deepinfra import DeepInfra
19
18
  from .cleeai import *
20
19
  from .OLLAMA import OLLAMA
@@ -74,7 +73,6 @@ __all__ = [
74
73
  'BLACKBOXAI',
75
74
  'PhindSearch',
76
75
  'GEMINI',
77
- 'DeepSeek',
78
76
  'DeepInfra',
79
77
  'AI4Chat',
80
78
  'Phindv2',
@@ -6,7 +6,7 @@ from typing import Any, Dict, Optional, Generator, List, Union
6
6
  from webscout.AIutel import Optimizers, Conversation, AwesomePrompts
7
7
  from webscout.AIbase import Provider
8
8
  from webscout import exceptions
9
- from fake_useragent import UserAgent
9
+ from webscout import LitAgent as UserAgent
10
10
 
11
11
  class Cerebras(Provider):
12
12
  """
@@ -89,7 +89,7 @@ class Cerebras(Provider):
89
89
  "Content-Type": "application/json",
90
90
  "Origin": "https://inference.cerebras.ai",
91
91
  "Referer": "https://inference.cerebras.ai/",
92
- "user-agent": UserAgent().random,
92
+ "user-agent": UserAgent().random(),
93
93
  }
94
94
 
95
95
  json_data = {
@@ -119,7 +119,7 @@ class Cerebras(Provider):
119
119
  headers = {
120
120
  "Authorization": f"Bearer {self.api_key}",
121
121
  "Content-Type": "application/json",
122
- "User-Agent": UserAgent().random
122
+ "User-Agent": UserAgent().random(),
123
123
  }
124
124
 
125
125
  payload = {
@@ -17,7 +17,6 @@ from .swiftcli import *
17
17
  from .litagent import LitAgent
18
18
  from .scout import *
19
19
  from .zeroart import *
20
- from .zerodir import *
21
20
  agent = LitAgent()
22
21
 
23
22
  __repo__ = "https://github.com/OE-LUCIFER/Webscout"
@@ -27,6 +27,7 @@ Advanced Usage:
27
27
  For more examples, check out the documentation!
28
28
  """
29
29
 
30
+ import importlib
30
31
  import os
31
32
  import sys
32
33
  import json
@@ -1,2 +1,2 @@
1
- __version__ = "6.8"
1
+ __version__ = "6.9"
2
2
  __prog__ = "webscout"