Your Name hace 3 años
padre
commit
14b609458f
Se han modificado 1 ficheros con 6 adiciones y 3 borrados
  1. 6 3
      designer/designer_gen.py

+ 6 - 3
designer/designer_gen.py

@@ -12,11 +12,14 @@ def extract_comp(fname):
     inloop=False
     for l in lines:
         if inloop:
-            if '<script async defer crossorigin="anonymous" src="https://connect.' in l:
+ #           if '<script async defer crossorigin="anonymous" src="https://connect.' in l:
+ #               break
+            if 'class="footer pt-1 d-none d-lg-block"' in l and 'footer' in l:
                 break
+ 
             resultstr+=l+"\n"
-            
-        if 'row justify-content-between mt-5' in l:
+        if 'class="dBlock"' in l and 'section' in l:     
+#        if 'row justify-content-between mt-5' in l:
             inloop=True
             resultstr+=l+"\n"
             continue