mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-01-11 12:41:37 +01:00
fix regex for sub hash
This commit is contained in:
parent
9fedcf25f5
commit
9125dbc22c
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ INPUT_FILENAME = os.environ.get('INPUT_FILENAME', 'tracked_links.txt')
|
|||
OUTPUT_FOLDER = os.environ.get('OUTPUT_FOLDER', 'data/')
|
||||
|
||||
PAGE_GENERATION_TIME_REGEX = r'<!-- page generated in .+ -->'
|
||||
PAGE_API_HASH_REGEX = r'?hash=([a-z0-9]+)",'
|
||||
PAGE_API_HASH_TEMPLATE = r'?hash=telegram-crawler",'
|
||||
PAGE_API_HASH_REGEX = r'\?hash=[a-z0-9]+'
|
||||
PAGE_API_HASH_TEMPLATE = '?hash=telegram-crawler'
|
||||
|
||||
# unsecure but so simple
|
||||
CONNECTOR = aiohttp.TCPConnector(ssl=False)
|
||||
|
|
Loading…
Reference in a new issue