Skip to content

Commit e99f66e

Browse files
committed
updated readme
1 parent 95b4799 commit e99f66e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ documentation.
158158
Here's an example for Google Search scraping:
159159

160160
```python
161-
c = SERP(username, password)
161+
c = RealtimeClient(username, password)
162162

163-
c.google.scrape_search(
163+
c.serp.google.scrape_search(
164164
"adidas",
165165
parse=True,
166166
context=[
@@ -184,13 +184,13 @@ c.google.scrape_search(
184184
SDK supports [custom parsing](https://developers.oxylabs.io/scraper-apis/custom-parser):
185185

186186
```python
187-
from oxylabs import SERP
187+
from oxylabs import RealtimeClient
188188

189189
# Set your Oxylabs API Credentials.
190190
username = "username"
191191
password = "password"
192192

193-
# Initialize the SERP Realtime client with your credentials.
193+
# Initialize the Realtime client with your credentials.
194194
c = RealtimeClient(username, password)
195195

196196
# Use `bing_search` as a source to scrape Bing using custom parsing
@@ -244,7 +244,7 @@ async def main():
244244
username = "username"
245245
password = "password"
246246

247-
# Initialize the SERP async client with your credentials.
247+
# Initialize the async client with your credentials.
248248
c = AsyncClient(username, password)
249249

250250
# 'timeout' specifies the maximum time (in seconds) to wait for the scraping

src/oxylabs/internal/internal.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ def _req(self, payload: dict, method: str, config: dict) -> dict:
8585
else:
8686
logger.error(f"Unsupported method: {method}")
8787
return None
88-
print(response.status_code)
8988
response.raise_for_status()
9089

9190
if response.status_code == 200:

0 commit comments

Comments
 (0)