Advertisement
here2share

# b_vars_scraper.py

Jul 14th, 2022
1,072
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.39 KB | None | 0 0
  1. # b_vars_scraper.py
  2.  
  3. zzz = '''
  4. ...
  5. '''.replace('"','"@@@').split('"')
  6.  
  7. void = '''
  8. ..
  9. =
  10. http
  11. '''.strip().splitlines()
  12.  
  13. print('...')
  14. ttt = []
  15. while zzz:
  16.     t = ''
  17.     while 1:
  18.         z = zzz.pop(0)
  19.         if '@@@' in z:
  20.             t += z[3:].strip()
  21.             break
  22.     z = zzz.pop(0)
  23.     if t not in ttt:
  24.         for s in void:
  25.             if t.startswith(s):
  26.                 t = ''
  27.         if t:
  28.             ttt += [t]
  29. 0
  30.  
  31. for t in ttt:
  32.     print(t)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement