Join GitHub today
Fix issue #9 - Ensure that domain works #20
jrkong left a comment •
@alexander-ponomaroff bad news.
I did some quick tests and the
To perform the url ping/call using
So this code chunk contains a few things I found during my tests:
Status code 301 is checked as some search engines will return a 301 for a search URL when called through a CLI interface. For an example of this try running
Also you may have to perform this in a try block as
@jrkong I just fixed the Flake8 issues. This is very weird because when I previously worked with curl, it worked perfectly, but now that I'm running the program again, I'm running into issues as well. I will take a look if anything can be done to fix the issues with curl. If not, I will look into the suggested requests library and will push the changes within the next couple days.
Sure. I'm confused as well, I remember that it worked previously as well but something seems to have changed that and I'm not quite sure what it is. I'm slightly concerned that this may be a reoccurring issue which is why I suggested the switch. Regardless, I've been doing research into the cause as well.