Skip to content

Commit d97c390

Browse files
committed
updating code tags
1 parent f41dec9 commit d97c390

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/Search/BingCustomSearchv7.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@
1616
customConfigId = "1" #you can also use "1"
1717
searchTerm = "microsoft"
1818
# </importsAndVars>
19-
# <request>
19+
# <url>
2020
# Add your Bing Custom Search endpoint to your environment variables.
2121
url = endpoint + "/search?q=" + searchTerm + "&customconfig=" + customConfigId
22+
# </url>
23+
# <request>
2224
r = requests.get(url, headers={'Ocp-Apim-Subscription-Key': subscriptionKey})
2325
print(r.text)
2426
# </request>

0 commit comments

Comments
 (0)