This commit is contained in:
poiuty 2022-07-27 11:48:27 +03:00
commit eabb01cfef
21 changed files with 921 additions and 0 deletions

View file

@ -0,0 +1,19 @@
#!/usr/bin/env python3
import cloudscraper
import sys
scraper = cloudscraper.create_scraper(
delay=15,
interpreter='nodejs',
captcha={
'provider': '2captcha',
'api_key': ''
}
)
if len(sys.argv) < 2:
print('no url');
exit(0)
print(scraper.get(sys.argv[1]).text)