mirror of
				https://github.com/KevinMidboe/spotify-downloader.git
				synced 2025-10-29 18:00:15 +00:00 
			
		
		
		
	ignore google ads
This commit is contained in:
		@@ -23,7 +23,7 @@ def searchYT(number):
 | 
			
		||||
	items_parse = BeautifulSoup(items, "html.parser")
 | 
			
		||||
	first_result = items_parse.find_all(attrs={'class':'yt-uix-tile-link'})[0]['href']
 | 
			
		||||
	check = 1
 | 
			
		||||
	while not first_result.find('channel') == -1:
 | 
			
		||||
	while not first_result.find('channel') == -1 or first_result.find('googleads') == -1:
 | 
			
		||||
		first_result = items_parse.find_all(attrs={'class':'yt-uix-tile-link'})[check]['href']
 | 
			
		||||
		check += 1
 | 
			
		||||
	del check
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user