This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import base64 | |
| import re | |
| import requests | |
| import rentry | |
| def extract_string_from_url(url): | |
| # Define the regular expression pattern to match the string after the last '/' | |
| pattern = r'https://rentry\.(?:co|org)/([^/]+)$' |
NewerOlder