1. Frederic De Groef
  2. csxj-crawler

Commits

Juliette De Maeyer  committed 5dbefcc

[lesoir_new] typo

  • Participants
  • Parent commits c3b2de3
  • Branches default

Comments (0)

Files changed (1)

File csxj/datasources/lesoir_new.py

View file
                     plaintext_links = utils.extract_plaintext_urls_from_text(clean_fragment)
                     plaintext_urls.extend(plaintext_links)
             if type(fragment) is bs4.NavigableString:
-                clean_fragment = clean_fragment = utils.remove_text_formatting_markup_from_fragments(fragment, strip_chars = "\n")   
+                clean_fragment = utils.remove_text_formatting_markup_from_fragments(fragment, strip_chars = "\n")   
                 plaintext_links = utils.extract_plaintext_urls_from_text(clean_fragment)
                 plaintext_urls.extend(plaintext_links)