Skip to content

Commit aeccab7

Browse files
committed
Fixed requirements
1 parent e292b6b commit aeccab7

File tree

2 files changed

+19
-14
lines changed

2 files changed

+19
-14
lines changed

marple.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,11 @@ def main():
592592
if args.url_filter:
593593
print(colored('Try to use --no-url-filter option.\n', 'red'))
594594

595-
loop = asyncio.get_event_loop()
595+
try:
596+
loop = asyncio.get_running_loop()
597+
except RuntimeError:
598+
loop = asyncio.new_event_loop()
599+
asyncio.set_event_loop(loop)
596600

597601
result = loop.run_until_complete(marple(username, args.results_count, args.url_filter,
598602
is_debug=args.debug, proxy=args.proxy,

requirements.txt

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
aiohttp
2-
termcolor
3-
bs4
4-
requests
5-
yandex_search
6-
pypdf2
7-
socid_extractor
8-
maigret
9-
aiohttp_socks
10-
search_engines @ https://github.com/soxoj/Search-Engines-Scraper/archive/refs/heads/master.zip
11-
tqdm
12-
google-search-results
13-
mock
1+
aiohttp>=3.8.0
2+
termcolor>=2.0.0
3+
beautifulsoup4>=4.9.0
4+
requests>=2.25.0
5+
yandex-search>=0.3.2
6+
PyPDF2>=2.0.0
7+
socid-extractor>=0.0.1
8+
aiohttp-socks>=0.7.0
9+
tqdm>=4.65.0
10+
google-search-results>=2.4.0
11+
mock>=4.0.0
12+
arabic-reshaper>=2.1.4
13+
maigret @ https://github.com/soxoj/maigret/archive/refs/heads/master.zip
14+
search-engines @ https://github.com/soxoj/Search-Engines-Scraper/archive/refs/heads/master.zip

0 commit comments

Comments
 (0)