diff --git a/src/main.rs b/src/main.rs index 19ba38d..73ed26e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -72,7 +72,7 @@ async fn extract_and_download(state: Arc, url: &str) -> Result<()> { async fn process_simple_embeds(page_body: &str, referer: &str, state: Arc) -> Result<()> { lazy_static! { static ref RE: Regex = Regex::new( - r#"]+ src="(?Phttps://player\.vimeo\.com/video/[^"]+)""# + r#"]* src="(?Phttps://player\.vimeo\.com/video/[^"]+)""# ) .unwrap(); } @@ -160,7 +160,7 @@ async fn extract_simple_embed_title(video: Arc