File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 69
69
"gzip" and geturls_text .info ().get ("Content-Encoding" ) != "deflate" ):
70
70
out_text = geturls_text .read ()[:]
71
71
regex_text = re .escape ("<img alt='Miss Bone Emoticons " ) + \
72
- "([0-9]+)" + re .escape ("' src=\" " ) + "(.*?)" + re .escape ("\" border=0>" )
72
+ "([0-9]+)" + re .escape ("' src=\" " ) + \
73
+ "(.*?)" + re .escape ("\" border=0>" )
73
74
post_text = re .findall (regex_text , out_text )
74
75
isub = 0
75
76
ilsub = len (post_text )
Original file line number Diff line number Diff line change @@ -489,7 +489,8 @@ def motherless_dl(mtlessgetargs=vars(getargs)):
489
489
re .escape ("http://www.motherless.com" ), "" , out_text )
490
490
if (re .match ("^V" , mlessvidid [1 ])):
491
491
out_text = re .sub (
492
- re .escape ("class=\" img-container\" target=\" _self\" " ),
492
+ re .escape (
493
+ "class=\" img-container\" target=\" _self\" " ),
493
494
"title=\" motherless link\" " ,
494
495
out_text )
495
496
out_text = re .sub (
@@ -571,7 +572,8 @@ def motherless_dl(mtlessgetargs=vars(getargs)):
571
572
"__mediatype = '" ) + "(.*)" + re .escape ("'," )
572
573
mediatype_text = re .findall (regex_mediatype , subout_text )
573
574
regex_altimg = re .escape ("<link rel=\" image_src\" type=\" image/" ) + \
574
- "(.*)" + re .escape ("\" href=\" " ) + "(.*)" + re .escape ("\" >" )
575
+ "(.*)" + re .escape ("\" href=\" " ) + \
576
+ "(.*)" + re .escape ("\" >" )
575
577
altimg_text = re .findall (regex_altimg , subout_text )
576
578
mlessaltimg = altimg_text [0 ][1 ]
577
579
regex_usrname = re .escape ("<a href=\" /u/" ) + "([\\ w]+)" + re .escape (
You can’t perform that action at this time.
0 commit comments