Skip to content

Commit

Permalink
Fixed requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
soxoj committed Nov 23, 2024
1 parent e292b6b commit aeccab7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 14 deletions.
6 changes: 5 additions & 1 deletion marple.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,11 @@ def main():
if args.url_filter:
print(colored('Try to use --no-url-filter option.\n', 'red'))

loop = asyncio.get_event_loop()
try:
loop = asyncio.get_running_loop()
except RuntimeError:
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)

result = loop.run_until_complete(marple(username, args.results_count, args.url_filter,
is_debug=args.debug, proxy=args.proxy,
Expand Down
27 changes: 14 additions & 13 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
aiohttp
termcolor
bs4
requests
yandex_search
pypdf2
socid_extractor
maigret
aiohttp_socks
search_engines @ https://github.com/soxoj/Search-Engines-Scraper/archive/refs/heads/master.zip
tqdm
google-search-results
mock
aiohttp>=3.8.0
termcolor>=2.0.0
beautifulsoup4>=4.9.0
requests>=2.25.0
yandex-search>=0.3.2
PyPDF2>=2.0.0
socid-extractor>=0.0.1
aiohttp-socks>=0.7.0
tqdm>=4.65.0
google-search-results>=2.4.0
mock>=4.0.0
arabic-reshaper>=2.1.4
maigret @ https://github.com/soxoj/maigret/archive/refs/heads/master.zip
search-engines @ https://github.com/soxoj/Search-Engines-Scraper/archive/refs/heads/master.zip

0 comments on commit aeccab7

Please sign in to comment.