sharsh02 commited on
Commit
8d2d650
1 Parent(s): 68b9f0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -337,7 +337,7 @@ async def get_google_news(queries):
337
  # Function to extract links starting with 'url ='
338
  async def extract_links_bing(text):
339
  # Regular expression pattern to match links starting with 'url ='
340
- pattern = r"url\s*=\s*\"(https?://[^\"]+)\""
341
  # Find all matches using re.findall
342
  links = re.findall(pattern, text)
343
  return links
 
337
  # Function to extract links starting with 'url ='
338
  async def extract_links_bing(text):
339
  # Regular expression pattern to match links starting with 'url ='
340
+ pattern = r"url\s*=\s*\"(https?://[^\"]+)\"
341
  # Find all matches using re.findall
342
  links = re.findall(pattern, text)
343
  return links