Skip to content

Commit 6e77754

Browse files
committed
feat: directory_manager 분리 (provisional)
아직 같은 코드를 위치만 바꿈. 추후 리팩토링 필요
1 parent 5f7b697 commit 6e77754

2 files changed

Lines changed: 182 additions & 154 deletions

File tree

WebtoonScraper/scrapers/_naver_webtoon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ async def _download_episode_images(self, episode_no: int, image_urls: list[str],
168168
audio_url = self.episode_audio_urls.get(episode_no)
169169
audio_name = f"{len(image_urls) + 1:03d}.mp3"
170170
audio_path = episode_directory / audio_name
171-
if audio_url and not audio_path.exists() and self._snapshot_contents_info(audio_path) is None:
171+
if audio_url and not audio_path.exists() and self.directory_manager._snapshot_contents_info(audio_path) is None:
172172
try:
173173
res = await self.client.get(audio_url)
174174
with audio_path.open("wb") as f:

0 commit comments

Comments
 (0)