Skip to content

'builtins.RClient' object has no attribute 'get'#41

Merged
AWeirdDev merged 1 commit intoAWeirdDev:mainfrom
andreaiorio:patch-1
Feb 24, 2025
Merged

'builtins.RClient' object has no attribute 'get'#41
AWeirdDev merged 1 commit intoAWeirdDev:mainfrom
andreaiorio:patch-1

Conversation

@andreaiorio
Copy link
Copy Markdown
Contributor

Fixes:

/usr/local/lib/python3.11/dist-packages/fast_flights/core.py in fetch(params)
     12 def fetch(params: dict) -> Response:
     13     client = Client(impersonate="chrome_126", verify=False)
---> 14     res = client.get("https://www.google.com/travel/flights", params=params)
     15     assert res.status_code == 200, f"{res.status_code} Result: {res.text_markdown}"
     16     return res

AttributeError: 'builtins.RClient' object has no attribute 'get'

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Feb 24, 2025
@andreaiorio andreaiorio changed the title Update primp.py 'builtins.RClient' object has no attribute 'get' Feb 24, 2025
@dosubot dosubot bot added the bug Something isn't working label Feb 24, 2025
@AWeirdDev AWeirdDev merged commit ce690db into AWeirdDev:main Feb 24, 2025
jimmyliu03 pushed a commit to jimmyliu03/google-flights that referenced this pull request Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants