mirror of https://gitlab.com/bashrc2/epicyon
				
				
				
			Another youtube subdomain
							parent
							
								
									23b7c25261
								
							
						
					
					
						commit
						a81bf011f6
					
				|  | @ -49,6 +49,8 @@ def _add_embedded_video_from_sites(translate: {}, content: str, | ||||||
|             return content |             return content | ||||||
| 
 | 
 | ||||||
|     video_site = 'https://www.youtube.com' |     video_site = 'https://www.youtube.com' | ||||||
|  |     if 'https://m.youtube.com' in content: | ||||||
|  |         content = content.replace('https://m.youtube.com', video_site) | ||||||
|     if '"' + video_site in content: |     if '"' + video_site in content: | ||||||
|         url = content.split('"' + video_site)[1] |         url = content.split('"' + video_site)[1] | ||||||
|         if '"' in url: |         if '"' in url: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue