Lab 6 Blog

    The first thing we were assigned to do after Hacktoberfest ended was to get ourselves started on the Telescope project along with other students and professors of OSD. This week, we are to install pre-requisites for Telescope to run locally and then modify our Release 0.1 to be able to process post data URLs from localhost:3000/posts. 

    A long process of installation was required, but since I decided to work on Telescope during Hacktoberfest's 3rd Pull Request, I had already done what was required to do for the lab. Information on that can be found in my 3rd PR's Blog.

    Our task for this lab was to use our URL checker on the URLs that exist within localhost:3000/posts. In order to do this with the existing code for my Release 0.1, I made a new argument '--t' or '--telescope' that takes an URL and receives the data it returns using Axio. After the data has been received, the URLs of each element will be stored inside a string. The string will be passed to the displayResult function to check each link that is detected by the Regex expression.

    


    After a few changes, I even managed to have the '--telescope' allowed to be entered with other features/arguments in the CLI tool.


Comments

Popular posts from this blog

Lab 2 Blog

Lab 4 Blog

Release 0.4