The first 1,000 people to use this link will get a 1 month free trial of Skillshare: [ Ссылка ].
In part 2 of this PDF and web scraper refactoring, I clean up the ScrapeRequest class and show you a few suggestions for how to deal with configuration settings in a data science/scraper project like this. If you haven't watched part 1 yet, here's the link: [ Ссылка ].
The code I worked on in this episode is available here: [ Ссылка ].
💡 Here's my FREE 7-step guide to help you consistently design great software: [ Ссылка ].
🎓 Courses:
The Software Designer Mindset: [ Ссылка ]
The Software Designer Mindset Team Packages: [ Ссылка ]
The Software Architect Mindset: Pre-register now! [ Ссылка ]
Next Level Python: Become a Python Expert: [ Ссылка ]
The 30-Day Design Challenge: [ Ссылка ]
🛒 GEAR & RECOMMENDED BOOKS: [ Ссылка ].
💬 Join my Discord server here: [ Ссылка ]
🐦Twitter: [ Ссылка ]
🌍LinkedIn: [ Ссылка ]
🕵Facebook: [ Ссылка ]
👀 Channel code reviewer board:
- Yoriz
- Ryan Laursen
- Sybren A. Stüvel
- Dale Hagglund
🔖 Chapters:
0:00 Intro
1:19 Example recap
3:22 What I'll do in this part of the refactoring
3:32 Cleaning up the FileRequest subclasses
8:56 Cleaning up the ScrapeRequest class hierarchy
12:22 Moving utility functions to a separate file
16:15 Removing the duplication from logging
19:12 Moving configuration settings to a separate file
23:38 Tips for dealing with configuration settings
25:34 Removing hardcoded word lists
28:04 Passing around configuration settings
32:50 Final thoughts
#arjancodes #softwaredesign #python
DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!
Refactoring A PDF And Web Scraper Part 2 // CODE ROAST
Теги
web scraperweb scrapingpython programmingdata sciencepdf scraperpython web scrapingpython programming tutorialpython programming languagepython web scraping tutorialpython tutorial advanceddata science for beginnersdata science pythoncode roastcode roast pythonweb scraping tutorialpython tutorialpython refactoringpython refactor codeget data from pdfrefactoring coderefactoring pythonrefactoring python codeWeb scraper python