forked from danmax/r34-scraper
Compare commits
No commits in common. "ef1e502af1566127806c001aeec78dabab1fb186" and "20a3a8c4c654c7afb1aa0b352ce7221239cb4441" have entirely different histories.
ef1e502af1
...
20a3a8c4c6
@ -138,7 +138,7 @@ fn extract_urls(html: &str) -> Vec<String> {
|
|||||||
|
|
||||||
fn extract_img_url(html: &str) -> Result<String, &'static str> {
|
fn extract_img_url(html: &str) -> Result<String, &'static str> {
|
||||||
if let Some(img_url) =
|
if let Some(img_url) =
|
||||||
Regex::new(r"https://us\.rule34\.xxx//images/([A-Za-z0-9]+(/[A-Za-z0-9]+)+)\.[A-Za-z0-9]+")
|
Regex::new(r"https://us\.rule34\.xxx/images/([A-Za-z0-9]+(/[A-Za-z0-9]+)+)\.[A-Za-z0-9]+")
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.find(html)
|
.find(html)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user