Skip to content

Instantly share code, notes, and snippets.

@DanNi0130
Created February 24, 2019 07:14
Show Gist options
  • Save DanNi0130/b3a9c0fb501988c34062f3fdd503092f to your computer and use it in GitHub Desktop.
Save DanNi0130/b3a9c0fb501988c34062f3fdd503092f to your computer and use it in GitHub Desktop.
singlethreadlinksearch = re.compile(r'\<a class="storylink" href="(.+?)"\>') # again, don’t forget the escape \ before characters like < and >
singlethreadlink = singlethreadlinksearch.findall(str(cleanthread))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment