Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

That tool just gives errors #37

Open
bashinho opened this issue Dec 17, 2023 · 3 comments
Open

That tool just gives errors #37

bashinho opened this issue Dec 17, 2023 · 3 comments

Comments

@bashinho
Copy link

Starting scraping online services...
Scraping Ebay...
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 700, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 383, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1017, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 353, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f06749c7760>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 756, in urlopen
retries = retries.increment(
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='fyp.ebay.com', port=443): Max retries exceeded with url: /EnterUserInfo?ru=https%3A%2F%2Fwww.ebay.com%2F&gchru=&clientapptype=19&rmvhdr=false (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f06749c7760>: Failed to establish a new connection: [Errno -2] Name or service not known'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/bashinho/GIT/email2phonenumber/email2phonenumber.py", line 1019, in
start_scrapping(args.email, args.quiet)
File "/home/bashinho/GIT/email2phonenumber/email2phonenumber.py", line 538, in start_scrapping
scrape_ebay(email)
File "/home/bashinho/GIT/email2phonenumber/email2phonenumber.py", line 625, in scrape_ebay
response = session.get(
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 557, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 544, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 657, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='fyp.ebay.com', port=443): Max retries exceeded with url: /EnterUserInfo?ru=https%3A%2F%2Fwww.ebay.com%2F&gchru=&clientapptype=19&rmvhdr=false (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f06749c7760>: Failed to establish a new connection: [Errno -2] Name or service not known'))

@cheetahbyte
Copy link

hey there 👋
the problem is that the ebay site fyp.ebay.com, which it's trying to scrape, does not exist anymore. However you can still scrape PayPal and LastPass if you uncomment line #538, which disables ebay scraping.

@DaniyarNauryz
Copy link

hey there 👋 the problem is that the ebay site fyp.ebay.com, which it's trying to scrape, does not exist anymore. However you can still scrape PayPal and LastPass if you uncomment line #538, which disables ebay scraping.

Several valid email addresses -- corporate and public ones -- return this:

Starting scraping online services...
Scraping Lastpass...
←[93mLastpass did not report any digits ←[0m
Scraping Paypal...
←[93mPaypal did not report any digits ←[0m

@cheetahbyte
Copy link

Maybe it's just not able to find any information based on the emails you provided. However this is something you can test manually, if you follow the steps the code is taking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants