r0oth3x49 / acloud-dl

A cross-platform python based utility to download courses from acloud.guru for personal offline use.
MIT License
350 stars 141 forks source link

Updated regexp to match a token as a single string #75

Closed ghost closed 3 years ago

ghost commented 3 years ago

Use case: Dev Tools / Inspect -> Network -> graphql -> Request Headers -> authorization (double-click to copy and paste to the headers file)

r0oth3x49 commented 3 years ago

does the old regex not working properly or what?

ghost commented 3 years ago

the old regex returns ' in the end, when headers are copied as cURL, due to the following format: -H 'authorization: Bearer token' \