File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 6969 "gzip" and geturls_text .info ().get ("Content-Encoding" ) != "deflate" ):
7070 out_text = geturls_text .read ()[:]
7171 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>" )
7374 post_text = re .findall (regex_text , out_text )
7475 isub = 0
7576 ilsub = len (post_text )
Original file line number Diff line number Diff line change @@ -489,7 +489,8 @@ def motherless_dl(mtlessgetargs=vars(getargs)):
489489 re .escape ("http://www.motherless.com" ), "" , out_text )
490490 if (re .match ("^V" , mlessvidid [1 ])):
491491 out_text = re .sub (
492- re .escape ("class=\" img-container\" target=\" _self\" " ),
492+ re .escape (
493+ "class=\" img-container\" target=\" _self\" " ),
493494 "title=\" motherless link\" " ,
494495 out_text )
495496 out_text = re .sub (
@@ -571,7 +572,8 @@ def motherless_dl(mtlessgetargs=vars(getargs)):
571572 "__mediatype = '" ) + "(.*)" + re .escape ("'," )
572573 mediatype_text = re .findall (regex_mediatype , subout_text )
573574 regex_altimg = re .escape ("<link rel=\" image_src\" type=\" image/" ) + \
574- "(.*)" + re .escape ("\" href=\" " ) + "(.*)" + re .escape ("\" >" )
575+ "(.*)" + re .escape ("\" href=\" " ) + \
576+ "(.*)" + re .escape ("\" >" )
575577 altimg_text = re .findall (regex_altimg , subout_text )
576578 mlessaltimg = altimg_text [0 ][1 ]
577579 regex_usrname = re .escape ("<a href=\" /u/" ) + "([\\ w]+)" + re .escape (
You can’t perform that action at this time.
0 commit comments