fix(scraper): import path
This commit is contained in:
parent
c540ba3050
commit
b12844c3a0
3 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ from dataclasses import asdict
|
|||
import requests
|
||||
from bs4 import BeautifulSoup, Tag
|
||||
|
||||
from .models import MetadataResult, ProblemSummary, TestCase, TestsResult
|
||||
from models import MetadataResult, ProblemSummary, TestCase, TestsResult
|
||||
|
||||
|
||||
def extract_problem_limits(soup: BeautifulSoup) -> tuple[int, float]:
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ from dataclasses import asdict
|
|||
import cloudscraper
|
||||
from bs4 import BeautifulSoup, Tag
|
||||
|
||||
from .models import MetadataResult, ProblemSummary, TestCase, TestsResult
|
||||
from models import MetadataResult, ProblemSummary, TestCase, TestsResult
|
||||
|
||||
|
||||
def scrape(url: str) -> list[TestCase]:
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ from dataclasses import asdict
|
|||
import requests
|
||||
from bs4 import BeautifulSoup, Tag
|
||||
|
||||
from .models import MetadataResult, ProblemSummary, TestCase, TestsResult
|
||||
from models import MetadataResult, ProblemSummary, TestCase, TestsResult
|
||||
|
||||
|
||||
def parse_problem_url(problem_input: str) -> str | None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue