You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f91c76f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/context/dev/types/batch_get_results_response.py
+14-10Lines changed: 14 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -294,7 +294,7 @@ class DataOkResultMetadata(BaseModel):
294
294
295
295
classDataOkResultParsed(BaseModel):
296
296
"""
297
-
Custom rules return fields after content filters; unmatched fields are null ([] for lists). The google-maps parser returns business records in data.results, google-maps-reviews returns data.reviews, and the google-play parser returns one app record as data, google-play-reviews returns data.reviews, app-store and app-store-reviews do the same for the App Store, emails, phone-numbers, and links return data.emails, data.phone_numbers, and data.links from the rendered page; the storeand Maps parsers read their data directly, independently of DOM filters and other outputs.
297
+
Custom rules return fields after content filters; unmatched fields are null ([] for lists). The google-maps parser returns business records in data.results, google-maps-reviews returns data.reviews, and the google-play parser returns one app record as data, google-play-reviews returns data.reviews, app-store and app-store-reviews do the same for the App Store, g2-reviews returns data.reviews for a G2 product, emails, phone-numbers, and links return data.emails, data.phone_numbers, and data.links from the rendered page; the store, Maps, and G2 parsers read their data directly, independently of DOM filters and other outputs.
298
298
"""
299
299
300
300
data: Optional[Dict[str, object]] =None
@@ -312,6 +312,7 @@ class DataOkResultParsed(BaseModel):
312
312
"google-play-reviews",
313
313
"app-store",
314
314
"app-store-reviews",
315
+
"g2-reviews",
315
316
"emails",
316
317
"phone-numbers",
317
318
"links",
@@ -506,10 +507,11 @@ class DataOkResult(BaseModel):
506
507
for lists). The google-maps parser returns business records in data.results,
507
508
google-maps-reviews returns data.reviews, and the google-play parser returns one
508
509
app record as data, google-play-reviews returns data.reviews, app-store and
509
-
app-store-reviews do the same for the App Store, emails, phone-numbers, and
510
-
links return data.emails, data.phone_numbers, and data.links from the rendered
511
-
page; the store and Maps parsers read their data directly, independently of DOM
512
-
filters and other outputs.
510
+
app-store-reviews do the same for the App Store, g2-reviews returns data.reviews
511
+
for a G2 product, emails, phone-numbers, and links return data.emails,
512
+
data.phone_numbers, and data.links from the rendered page; the store, Maps, and
513
+
G2 parsers read their data directly, independently of DOM filters and other
514
+
outputs.
513
515
"""
514
516
515
517
product: DataOkResultProduct
@@ -811,7 +813,7 @@ class DataErrorResultMetadata(BaseModel):
811
813
812
814
classDataErrorResultParsed(BaseModel):
813
815
"""
814
-
Custom rules return fields after content filters; unmatched fields are null ([] for lists). The google-maps parser returns business records in data.results, google-maps-reviews returns data.reviews, and the google-play parser returns one app record as data, google-play-reviews returns data.reviews, app-store and app-store-reviews do the same for the App Store, emails, phone-numbers, and links return data.emails, data.phone_numbers, and data.links from the rendered page; the storeand Maps parsers read their data directly, independently of DOM filters and other outputs.
816
+
Custom rules return fields after content filters; unmatched fields are null ([] for lists). The google-maps parser returns business records in data.results, google-maps-reviews returns data.reviews, and the google-play parser returns one app record as data, google-play-reviews returns data.reviews, app-store and app-store-reviews do the same for the App Store, g2-reviews returns data.reviews for a G2 product, emails, phone-numbers, and links return data.emails, data.phone_numbers, and data.links from the rendered page; the store, Maps, and G2 parsers read their data directly, independently of DOM filters and other outputs.
815
817
"""
816
818
817
819
data: Optional[Dict[str, object]] =None
@@ -829,6 +831,7 @@ class DataErrorResultParsed(BaseModel):
829
831
"google-play-reviews",
830
832
"app-store",
831
833
"app-store-reviews",
834
+
"g2-reviews",
832
835
"emails",
833
836
"phone-numbers",
834
837
"links",
@@ -1024,10 +1027,11 @@ class DataErrorResult(BaseModel):
1024
1027
for lists). The google-maps parser returns business records in data.results,
1025
1028
google-maps-reviews returns data.reviews, and the google-play parser returns one
1026
1029
app record as data, google-play-reviews returns data.reviews, app-store and
1027
-
app-store-reviews do the same for the App Store, emails, phone-numbers, and
1028
-
links return data.emails, data.phone_numbers, and data.links from the rendered
1029
-
page; the store and Maps parsers read their data directly, independently of DOM
1030
-
filters and other outputs.
1030
+
app-store-reviews do the same for the App Store, g2-reviews returns data.reviews
1031
+
for a G2 product, emails, phone-numbers, and links return data.emails,
1032
+
data.phone_numbers, and data.links from the rendered page; the store, Maps, and
1033
+
G2 parsers read their data directly, independently of DOM filters and other
Copy file name to clipboardExpand all lines: src/context/dev/types/web_scrape_response.py
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -267,7 +267,7 @@ class Metadata(BaseModel):
267
267
268
268
classParsed(BaseModel):
269
269
"""
270
-
Custom rules return fields after content filters; unmatched fields are null ([] for lists). The google-maps parser returns business records in data.results, google-maps-reviews returns data.reviews, and the google-play parser returns one app record as data, google-play-reviews returns data.reviews, app-store and app-store-reviews do the same for the App Store, emails, phone-numbers, and links return data.emails, data.phone_numbers, and data.links from the rendered page; the storeand Maps parsers read their data directly, independently of DOM filters and other outputs.
270
+
Custom rules return fields after content filters; unmatched fields are null ([] for lists). The google-maps parser returns business records in data.results, google-maps-reviews returns data.reviews, and the google-play parser returns one app record as data, google-play-reviews returns data.reviews, app-store and app-store-reviews do the same for the App Store, g2-reviews returns data.reviews for a G2 product, emails, phone-numbers, and links return data.emails, data.phone_numbers, and data.links from the rendered page; the store, Maps, and G2 parsers read their data directly, independently of DOM filters and other outputs.
271
271
"""
272
272
273
273
data: Optional[Dict[str, object]] =None
@@ -285,6 +285,7 @@ class Parsed(BaseModel):
285
285
"google-play-reviews",
286
286
"app-store",
287
287
"app-store-reviews",
288
+
"g2-reviews",
288
289
"emails",
289
290
"phone-numbers",
290
291
"links",
@@ -475,10 +476,11 @@ class WebScrapeResponse(BaseModel):
475
476
for lists). The google-maps parser returns business records in data.results,
476
477
google-maps-reviews returns data.reviews, and the google-play parser returns one
477
478
app record as data, google-play-reviews returns data.reviews, app-store and
478
-
app-store-reviews do the same for the App Store, emails, phone-numbers, and
479
-
links return data.emails, data.phone_numbers, and data.links from the rendered
480
-
page; the store and Maps parsers read their data directly, independently of DOM
481
-
filters and other outputs.
479
+
app-store-reviews do the same for the App Store, g2-reviews returns data.reviews
480
+
for a G2 product, emails, phone-numbers, and links return data.emails,
481
+
data.phone_numbers, and data.links from the rendered page; the store, Maps, and
482
+
G2 parsers read their data directly, independently of DOM filters and other
0 commit comments