Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ python check.py
- Directory listing complete! Starting.
- Dark.World.Das.Tal.der.Hexenkoenigin.3D.2010.German.1080p.BluRay.x264-STEREOSCOPiC.srr
- Die.Drei.vom.Pfandhaus.S04E59.Verschlusssache.GERMAN.DOKU.720p.HDTV.x264-TVP.srr
- Lotus_Plaza-Spooky_Action_At_A_Distance-CD-FLAC-2012-JLM.srr
- import rescene
- import os
- srrfiles = ""
- outlog = "brokenpy.txt"
- started = False
- for f in os.listdir(srrfiles):
- if not started:
- started = True
- print("Directory listing complete! Starting.")
- srr = os.path.join(srrfiles, f)
- # print(f)
- try:
- rescene.info(srr)
- except:
- print(f)
- with open(outlog, "a") as logf:
- logf.write(f + "\n")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement