We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fdbaea commit 5091036Copy full SHA for 5091036
EazyDiner-Scraper/restaurants.py
@@ -9,8 +9,8 @@ class EazyDiner:
9
Example:
10
```
11
restaurants = EazyDiner(location="Delhi NCR")
12
- ```\n
13
- Methods :\n
+ ```
+ Methods :
14
1. ``.getRestaurants() | Response - List of restraunts and its details.
15
"""
16
@@ -70,5 +70,5 @@ def getRestaurants(self):
70
)
71
res_json = json.dumps(restaurant_data)
72
return res_json
73
- except:
+ except ValueError:
74
return None
0 commit comments