Quote:
	
	
		
			
				
					Originally Posted by  junni
					 
				 
				Hi JimmXinu, with further testing i noticed that there was a bug in this code, because the website changes the HREF tag based on completed or ongoing novel   . so i made a slight change which made it work. I should have tested further   , but i was just too excited to post my accomplishment.   .
 
	Code: 
	try:
            status = soup.find("a", href=re.compile("/completed-novel"), class_="text-primary").text
        except:
            status = soup.find("a", href=re.compile("/ongoing-novel"), class_="text-primary").text		
		
        if status == "Completed":
            self.story.setMetadata("status", "Completed")
        else:
            self.story.setMetadata("status", "In-Progress")
     
			
		 | 
	
	
 Isn't that the same issue I identified and fixed?  Effectively, the results are the same, but my version is a bit short and faster, I think.