(
page: int, api_key: str, text: str, min_date: float, max_date: float
)
| 68 | |
| 69 | |
| 70 | def compose_url( |
| 71 | page: int, api_key: str, text: str, min_date: float, max_date: float |
| 72 | ) -> str: |
| 73 | return URL % ( |
| 74 | api_key, |
| 75 | text, |
| 76 | SORT, |
| 77 | PER_PAGE, |
| 78 | page, |
| 79 | str(min_date), |
| 80 | str(max_date), |
| 81 | ) |
| 82 | |
| 83 | |
| 84 | def parse_page( |