hama beykaaru step eh
This commit is contained in:
		
							
								
								
									
										3
									
								
								bot.sh
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								bot.sh
									
									
									
									
									
								
							| @@ -23,8 +23,7 @@ echo Camera Image grabbed | ||||
| ################################################################################# | ||||
| echo Grabbing Satellite Image | ||||
| # scrap html and get image link | ||||
| satellite_image_url=$(curl "https://www.meteorology.gov.mv/?pd=satellite" -s | \ | ||||
|              grep "https://mobile.codeworks.mv/uploads/Satellite/"| \ | ||||
| satellite_image_url=$(curl "https://www.meteorology.gov.mv/" -s | \ | ||||
|              grep -o 'https://mobile.codeworks.mv/uploads/Satellite/[^"]*' | \ | ||||
|              tail -n 1) | ||||
| # Download the Setellite Image | ||||
|   | ||||
		Reference in New Issue
	
	Block a user