Skip to content

Conversation

@Billa32
Copy link
Owner

@Billa32 Billa32 commented Jul 26, 2021

reason of creating a base_url cause it was assigned hardcoded in scripts and it is better to set hardcoded variables seperately in a class thus created a new baseurl and mades changes to the csbs.py which is also attached where i imported newly created class and got the base url for csbs from the baseurl class and finally i used jhu.py where i import newly created class and get the base url for jhu from baseurl class and using nyt.py same changes were made but in line#39 got the base url for nyt from baseUrl class.

reason of creating a base_url cause it was assigned hardcoded in scripts and it is better to set hardcoded variables seperately in a class thus created a new baseurl
@Billa32 Billa32 merged commit 6bc1467 into master Jul 26, 2021
@Billa32 Billa32 deleted the Base_url branch July 26, 2021 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants