@smk123 כתב בAPI זיהוי מתקשרים:
@צבי-ש
כרגע זה מה שהאתר מציג והמצב שוה ברזה בקונסול וגם בדוקר
זה הפלט לחיפוש של מספר
{'contact': {'name': 'mendi', 'picture': None, 'user': {'email': None, 'profile_picture': None, 'first_name': 'mendi', 'last_name': '', 'gender': None, 'uuid': 'cbccd58b-e6c5-407f-852a-3408fbe52325', 'is_verified': False, 'phone_number': 972543517721, 'slogan': None, 'is_premium': False, 'verify_subscription': True, 'id': 12978800, 'comment_count': 0, 'location_enabled': True, 'distance': None}, 'suggested_as_spam': 0, 'is_permanent': False, 'is_pending_name_change': False, 'user_type': 'BLUE', 'phone_number': 972543517721, 'cached': True, 'is_my_contact': False, 'is_shared_location': False}}
185.217.99.140 - - [20/Mar/2023 15:26:11] "GET /?phone=0543517721 HTTP/1.1" 500 -
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.8/site-packages/flask/app.py", line 2095, in __call__
return self.wsgi_app(environ, start_response)
File "/home/ubuntu/.local/lib/python3.8/site-packages/flask/app.py", line 2080, in wsgi_app
response = self.handle_exception(e)
File "/home/ubuntu/.local/lib/python3.8/site-packages/flask/app.py", line 2077, in wsgi_app
response = self.full_dispatch_request()
File "/home/ubuntu/.local/lib/python3.8/site-packages/flask/app.py", line 1525, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/ubuntu/.local/lib/python3.8/site-packages/flask/app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "/home/ubuntu/.local/lib/python3.8/site-packages/flask/app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/home/ubuntu/meapiSearch/app.py", line 40, in parse_request
return me_search_result.as_dict()
AttributeError: 'dict' object has no attribute 'as_dict'
185.217.99.140 - - [20/Mar/2023 15:26:12] "GET /?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 304 -
185.217.99.140 - - [20/Mar/2023 15:26:12] "GET /?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 304 -
185.217.99.140 - - [20/Mar/2023 15:26:12] "GET /?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
והתמונה שמוצגת בדף היא

התוצאה חוזרת אבל היא לא מפורסרת נכון מסיבה כלשהי
תעדכן שוב מהגיטהאב, עידכנתי את הספריה המקורית לגירסא הכי עדכנית, וטיפלתי בבאגים.
שים לב , בהוראות שם ערכתי את הצורת אימות, קודם אתה צריך לאמת מחוץ לדוקר, ואז להכניס את קובץ האימות לבפנים.
אצלי זה עובד מעולה בין בדוקר בין בחוץ