Skip to content

Instantly share code, notes, and snippets.

@AVJdataminer
Last active May 21, 2020 19:05
Show Gist options
  • Save AVJdataminer/dd40a7abd51e07b9056f28090adbeb7f to your computer and use it in GitHub Desktop.
Save AVJdataminer/dd40a7abd51e07b9056f28090adbeb7f to your computer and use it in GitHub Desktop.
input_url = input("Enter the github url: ")
y = input_url.replace('/blob','')
x = y.replace('github.com','raw.githubusercontent.com')
print("raw url: ", x )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment