mirror of https://gitlab.com/bashrc2/epicyon
				
				
				
			Merge branch 'main' of gitlab.com:bashrc2/epicyon
						commit
						a58773840a
					
				|  | @ -211,8 +211,12 @@ def _add_embedded_video_from_sites(translate: {}, content: str, | ||||||
|             if '"' not in url: |             if '"' not in url: | ||||||
|                 continue |                 continue | ||||||
|             url = url.split('"')[0] |             url = url.split('"')[0] | ||||||
|             if ('/trending', '/home', '/overview', |             if url.endswith('/trending') or \ | ||||||
|                '/recently-added', '/local') in url: |                url.endswith('/home') or \ | ||||||
|  |                url.endswith('/overview') or \ | ||||||
|  |                url.endswith('/recently-added') or \ | ||||||
|  |                url.endswith('/local') or \ | ||||||
|  |                url.endswith('/about'): | ||||||
|                 # ignore various peertube endpoints |                 # ignore various peertube endpoints | ||||||
|                 continue |                 continue | ||||||
|             if '/c/' in url: |             if '/c/' in url: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue