Featured
- Get link
- X
- Other Apps
Week 8: Release 0.3 PR#1
OTO Helper
For release 0.3 I need to make two pull requests. The first being one in the telescope project and the other being in an external project. The external project is supposed to be an improvement from my other 4 PR's. Fortunately during Hacktoberfest I made a few more then necessary PR's, and one of my last one's was not included in release 0.2. This PR had me working in python to add a URL validator to a video downloading function.
Here's the issue: Issue #2
The project itself was called OTO Helper and is currently being developed as a helper library that provides utility modules for other projects linked to this one.
The Code
Im not used to working with python so it took me a little while to research and get the code working correctly. This new addition had me adding a regex pattern to check the URL using regex.search(). If there was an issue I would then raise an exception.
Here's the PR: Validate URL that is passed to video_downloader.py
Thanks,
Matthew Stewardson
- Get link
- X
- Other Apps
Comments
Post a Comment