How to compare to see if a username is scraped and save to scaped.txt file or not



  • Hello,
    I'm scraping usernames and save to a text file (named scraped.txt). Can you please tell me how to compare to see if a username is scraped and save to scaped.txt file or not yet, so that we can get the result 1 or 0 ( to save or no). I don't want to save a duplicated username! Thank you!