Skip to content

Commit 2313284

Browse files
committed
fmt
1 parent 51427f6 commit 2313284

File tree

5 files changed

+57
-60
lines changed

5 files changed

+57
-60
lines changed

src/oxylabs/sources/ecommerce/amazon/amazon.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def scrape_search(
4343
domain (Optional[str]): The domain to limit the search results to.
4444
start_page (Optional[int]): The starting page number.
4545
pages (Optional[int]): The number of pages to scrape.
46-
geo_location (Optional[str]): The Deliver to location.
46+
geo_location (Optional[str]): The Deliver to location.
4747
user_agent_type (Optional[str]): Device type and browser.
4848
callback_url (Optional[str]): URL to your callback endpoint.
4949
render (Optional[str]): Enables JavaScript rendering.
@@ -143,7 +143,7 @@ def scrape_product(
143143
Args:
144144
query (str): 10-symbol ASIN code.
145145
domain (Optional[str]): The domain to limit the search results to.
146-
geo_location (Optional[str]): The Deliver to location.
146+
geo_location (Optional[str]): The Deliver to location.
147147
user_agent_type (Optional[str]): Device type and browser.
148148
callback_url (Optional[str]): URL to your callback endpoint.
149149
render (Optional[str]): Enables JavaScript rendering.
@@ -199,7 +199,7 @@ def scrape_pricing(
199199
domain (Optional[str]): The domain to limit the search results to.
200200
start_page (Optional[int]): The starting page number.
201201
pages (Optional[int]): The number of pages to scrape.
202-
geo_location (Optional[str]): The Deliver to location.
202+
geo_location (Optional[str]): The Deliver to location.
203203
user_agent_type (Optional[str]): Device type and browser.
204204
callback_url (Optional[str]): URL to your callback endpoint.
205205
render (Optional[str]): Enables JavaScript rendering.
@@ -255,7 +255,7 @@ def scrape_reviews(
255255
domain (Optional[str]): The domain to limit the search results to.
256256
start_page (Optional[int]): The starting page number.
257257
pages (Optional[int]): The number of pages to scrape.
258-
geo_location (Optional[str]): The Deliver to location.
258+
geo_location (Optional[str]): The Deliver to location.
259259
user_agent_type (Optional[str]): Device type and browser.
260260
callback_url (Optional[str]): URL to your callback endpoint.
261261
render (Optional[str]): Enables JavaScript rendering.
@@ -361,7 +361,7 @@ def scrape_bestsellers(
361361
domain (Optional[str]): The domain to limit the search results to.
362362
start_page (Optional[int]): The starting page number.
363363
pages (Optional[int]): The number of pages to scrape.
364-
geo_location (Optional[str]): The Deliver to location.
364+
geo_location (Optional[str]): The Deliver to location.
365365
user_agent_type (Optional[str]): Device type and browser.
366366
callback_url (Optional[str]): URL to your callback endpoint.
367367
render (Optional[str]): Enables JavaScript rendering.
@@ -413,7 +413,7 @@ def scrape_sellers(
413413
Args:
414414
query (str): 13-character seller ID.
415415
domain (Optional[str]): The domain to limit the search results to.
416-
geo_location (Optional[str]): The Deliver to location.
416+
geo_location (Optional[str]): The Deliver to location.
417417
user_agent_type (Optional[str]): Device type and browser.
418418
callback_url (Optional[str]): URL to your callback endpoint.
419419
render (Optional[str]): Enables JavaScript rendering.
@@ -482,7 +482,7 @@ async def scrape_search(
482482
domain (Optional[str]): The domain to limit the search results to.
483483
start_page (Optional[int]): The starting page number.
484484
pages (Optional[int]): The number of pages to scrape.
485-
geo_location (Optional[str]): The Deliver to location.
485+
geo_location (Optional[str]): The Deliver to location.
486486
user_agent_type (Optional[str]): Device type and browser.
487487
callback_url (Optional[str]): URL to your callback endpoint.
488488
render (Optional[str]): Enables JavaScript rendering.
@@ -610,7 +610,7 @@ async def scrape_product(
610610
Args:
611611
query (str): 10-symbol ASIN code.
612612
domain (Optional[str]): The domain to limit the search results to.
613-
geo_location (Optional[str]): The Deliver to location.
613+
geo_location (Optional[str]): The Deliver to location.
614614
user_agent_type (Optional[str]): Device type and browser.
615615
callback_url (Optional[str]): URL to your callback endpoint.
616616
render (Optional[str]): Enables JavaScript rendering.
@@ -680,7 +680,7 @@ async def scrape_pricing(
680680
domain (Optional[str]): The domain to limit the search results to.
681681
start_page (Optional[int]): The starting page number.
682682
pages (Optional[int]): The number of pages to scrape.
683-
geo_location (Optional[str]): The Deliver to location.
683+
geo_location (Optional[str]): The Deliver to location.
684684
user_agent_type (Optional[str]): Device type and browser.
685685
callback_url (Optional[str]): URL to your callback endpoint.
686686
render (Optional[str]): Enables JavaScript rendering.
@@ -750,7 +750,7 @@ async def scrape_reviews(
750750
domain (Optional[str]): The domain to limit the search results to.
751751
start_page (Optional[int]): The starting page number.
752752
pages (Optional[int]): The number of pages to scrape.
753-
geo_location (Optional[str]): The Deliver to location.
753+
geo_location (Optional[str]): The Deliver to location.
754754
user_agent_type (Optional[str]): Device type and browser.
755755
callback_url (Optional[str]): URL to your callback endpoint.
756756
render (Optional[str]): Enables JavaScript rendering.
@@ -816,7 +816,7 @@ async def scrape_questions(
816816
Args:
817817
query (str): 10-symbol ASIN code.
818818
domain (Optional[str]): The domain to limit the search results to.
819-
geo_location (Optional[str]): The Deliver to location.
819+
geo_location (Optional[str]): The Deliver to location.
820820
user_agent_type (Optional[str]): Device type and browser.
821821
callback_url (Optional[str]): URL to your callback endpoint.
822822
render (Optional[str]): Enables JavaScript rendering.
@@ -884,7 +884,7 @@ async def scrape_bestsellers(
884884
domain (Optional[str]): The domain to limit the search results to.
885885
start_page (Optional[int]): The starting page number.
886886
pages (Optional[int]): The number of pages to scrape.
887-
geo_location (Optional[str]): The Deliver to location.
887+
geo_location (Optional[str]): The Deliver to location.
888888
user_agent_type (Optional[str]): Device type and browser.
889889
callback_url (Optional[str]): URL to your callback endpoint.
890890
render (Optional[str]): Enables JavaScript rendering.
@@ -950,7 +950,7 @@ async def scrape_sellers(
950950
Args:
951951
query (str): 13-character seller ID.
952952
domain (Optional[str]): The domain to limit the search results to.
953-
geo_location (Optional[str]): The Deliver to location.
953+
geo_location (Optional[str]): The Deliver to location.
954954
user_agent_type (Optional[str]): Device type and browser.
955955
callback_url (Optional[str]): URL to your callback endpoint.
956956
render (Optional[str]): Enables JavaScript rendering.

src/oxylabs/sources/ecommerce/google_shopping/google_shopping.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def scrape_shopping_search(
4545
domain (Optional[str]): The domain to limit the search results to.
4646
start_page (Optional[int]): The starting page number.
4747
pages (Optional[int]): The number of pages to scrape.
48-
locale (Optional[str]): Accept-Language header value which changes your Bing search
48+
locale (Optional[str]): Accept-Language header value which changes your Bing search
4949
page web interface language.
5050
results_language (Optional[str]): None,
5151
geo_location (Optional[str]): None,
@@ -102,7 +102,7 @@ def scrape_shopping_url(
102102
103103
Args:
104104
url (str): Direct URL (link) to Google page
105-
the search.
105+
the search.
106106
user_agent_type (Optional[str]): Device type and browser.
107107
render (Optional[str]): Enables JavaScript rendering.
108108
callback_url (Optional[str]): URL to your callback endpoint.
@@ -154,7 +154,7 @@ def scrape_shopping_products(
154154
Args:
155155
query (str): UTF-encoded product code.
156156
domain (Optional[str]): The domain to limit the search results to.
157-
locale (Optional[str]): Accept-Language header value which changes your Bing search
157+
locale (Optional[str]): Accept-Language header value which changes your Bing search
158158
page web interface language.
159159
"results_language": None,
160160
geo_location (Optional[str]): None,
@@ -212,7 +212,7 @@ def scrape_product_pricing(
212212
Args:
213213
query (str): UTF-encoded product code.
214214
domain (Optional[str]): The domain to limit the search results to.
215-
locale (Optional[str]): Accept-Language header value which changes your Bing search
215+
locale (Optional[str]): Accept-Language header value which changes your Bing search
216216
page web interface language.
217217
start_page (Optional[int]): The starting page number.
218218
pages (Optional[int]): The number of pages to scrape.
@@ -291,7 +291,7 @@ async def scrape_shopping_search(
291291
domain (Optional[str]): The domain to limit the search results to.
292292
start_page (Optional[int]): The starting page number.
293293
pages (Optional[int]): The number of pages to scrape.
294-
locale (Optional[str]): Accept-Language header value which changes your Bing search
294+
locale (Optional[str]): Accept-Language header value which changes your Bing search
295295
page web interface language.
296296
"results_language": None,
297297
geo_location (Optional[str]): None,
@@ -420,7 +420,7 @@ async def scrape_shopping_products(
420420
Args:
421421
query (str): UTF-encoded product code.
422422
domain (Optional[str]): The domain to limit the search results to.
423-
locale (Optional[str]): Accept-Language header value which changes your Bing search
423+
locale (Optional[str]): Accept-Language header value which changes your Bing search
424424
page web interface language.
425425
"results_language": None,
426426
geo_location (Optional[str]): None,
@@ -491,7 +491,7 @@ async def scrape_product_pricing(
491491
domain (Optional[str]): The domain to limit the search results to.
492492
start_page (Optional[int]): The starting page number.
493493
pages (Optional[int]): The number of pages to scrape.
494-
locale (Optional[str]): Accept-Language header value which changes your Bing search
494+
locale (Optional[str]): Accept-Language header value which changes your Bing search
495495
page web interface language.
496496
"results_language": None,
497497
geo_location (Optional[str]): None,

src/oxylabs/sources/ecommerce/universal/universal.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,15 @@ def scrape_url(
4141
url (str): The URL to be scraped.
4242
user_agent_type (Optional[str]): Device type and browser.
4343
"geo_location": None,
44-
locale (Optional[str]): Accept-Language header value which changes your Bing search
44+
locale (Optional[str]): Accept-Language header value which changes your Bing search
4545
page web interface language.
4646
render (Optional[str]): Enables JavaScript rendering.
47-
content_encoding: Add this parameter if you are downloading images.
47+
content_encoding: Add this parameter if you are downloading images.
4848
context: Optional[list],
4949
callback_url (Optional[str]): URL to your callback endpoint.
5050
parse (Optional[bool]): true will return structured data.
5151
parser_type: Set the value to ecommerce_product to access our AI-powered Adaptive Parser.
5252
parsing_instructions (Optional[dict]): Instructions for parsing the results.
53-
5453
request_timeout (int | 165, optional): The interval in seconds for
5554
the request to time out if no response is returned.
5655
Defaults to 165.
@@ -115,16 +114,15 @@ async def scrape_url(
115114
url (str): The URL to be scraped.
116115
user_agent_type (Optional[str]): Device type and browser.
117116
"geo_location": None,
118-
locale (Optional[str]): Accept-Language header value which changes your Bing search
117+
locale (Optional[str]): Accept-Language header value which changes your Bing search
119118
page web interface language.
120119
render (Optional[str]): Enables JavaScript rendering.
121-
content_encoding: Add this parameter if you are downloading images.
120+
content_encoding: Add this parameter if you are downloading images.
122121
context: Optional[list],
123122
callback_url (Optional[str]): URL to your callback endpoint.
124123
parse (Optional[bool]): true will return structured data.
125124
parser_type: Set the value to ecommerce_product to access our AI-powered Adaptive Parser.
126125
parsing_instructions (Optional[dict]): Instructions for parsing the results.
127-
128126
request_timeout (int | 165, optional): The interval in seconds for
129127
the request to time out if no response is returned.
130128
Defaults to 165.

src/oxylabs/sources/serp/bing/bing.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ def scrape_search(
4242
query (str): UTF-encoded keyword.
4343
domain (Optional[str]): The domain to limit the search results to.
4444
start_page (Optional[int]): The starting page number.
45-
pages (Optional[int]): The number of pages to scrape.
45+
pages (Optional[int]): The number of pages to scrape.
4646
limit (Optional[int]): Number of results to retrieve in each page.
4747
user_agent_type (Optional[str]): Device type and browser.
4848
callback_url (Optional[str]): URL to your callback endpoint.
49-
locale (Optional[str]): Accept-Language header value which changes your Bing search
49+
locale (Optional[str]): Accept-Language header value which changes your Bing search
5050
page web interface language.
5151
geo_location (Optional[str]): It goes like this: City,Region,Country.
5252
render (Optional[str]): Enables JavaScript rendering.
@@ -99,9 +99,9 @@ def scrape_url(
9999
Args:
100100
url (str): The URL to be scraped.
101101
user_agent_type (Optional[str]): Device type and browser.
102-
geo_location (Optional[str]): The API uses Canonical Geo Location format to
103-
determine request location. It goes like this: City,Region,Country
104-
callback_url (Optional[str]): URL to your callback endpoint.
102+
geo_location (Optional[str]): The API uses Canonical Geo Location format to
103+
determine request location. It goes like this: City,Region,Country
104+
callback_url (Optional[str]): URL to your callback endpoint.
105105
render (Optional[str]): Enables JavaScript rendering.
106106
parsing_instructions (Optional[dict]): Instructions for parsing the results.
107107
parse (Optional[bool]): true will return structured data.
@@ -171,10 +171,10 @@ async def scrape_search(
171171
limit (Optional[int]): Number of results to retrieve in each page.
172172
user_agent_type (Optional[str]): Device type and browser.
173173
callback_url (Optional[str]): URL to your callback endpoint.
174-
locale (Optional[str]): Accept-Language header value which changes your Bing search
174+
locale (Optional[str]): Accept-Language header value which changes your Bing search
175175
page web interface language.
176-
geo_location (Optional[str]): The API uses Canonical Geo Location format to
177-
determine request location. It goes like this: City,Region,Country
176+
geo_location (Optional[str]): The API uses Canonical Geo Location format to
177+
determine request location. It goes like this: City,Region,Country
178178
render (Optional[str]): Enables JavaScript rendering.
179179
parse (Optional[bool]): true will return structured data.
180180
request_timeout (int | 165, optional): The interval in seconds for
@@ -238,8 +238,8 @@ async def scrape_url(
238238
url (str): The URL to be scraped.
239239
240240
user_agent_type (Optional[str]): Device type and browser.
241-
geo_location (Optional[str]): The API uses Canonical Geo Location format to
242-
determine request location. It goes like this: City,Region,Country
241+
geo_location (Optional[str]): The API uses Canonical Geo Location format to
242+
determine request location. It goes like this: City,Region,Country
243243
callback_url (Optional[str]): URL to your callback endpoint.
244244
render (Optional[str]): Enables JavaScript rendering.
245245
parsing_instructions (Optional[dict]): Instructions for parsing the results.

0 commit comments

Comments
 (0)