File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed
Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change 5555 if image :
5656 f .write (f"{ g_name } |჻|{ image } |჻|{ text } ᴣᴣᴣ" )
5757
58- # stop after 10 posts
58+ # stop after 10
5959 if i == 10 :
6060 break
6161 except Exception as e :
7878 if image :
7979 f .write (f"{ p_name } |჻|{ image } |჻|{ text } ᴣᴣᴣ" )
8080
81- # stop after 10 posts
81+ # stop after 10
8282 if i == 10 :
8383 break
8484 except Exception as e :
9999 if image :
100100 f .write (f"{ search } |჻|{ image } |჻|{ text } ᴣᴣᴣ" )
101101
102- # stop after 10 posts
102+ # stop after 10
103103 if i == 10 :
104104 break
105105
106- # read results.txt
107- # try:
108- # with open('results.txt', 'r', encoding="utf-8") as f:
109- # # print(f.read())
110- # # split by ||
111- # for line in f:
112- # print(line.split("||")[2])
113- # except Exception as e:
114- # print(e)
115-
116106 except Exception as e :
117107 print (e )
118-
119- # options={"posts_per_page": 5, "allow_extra_requests": False},
You can’t perform that action at this time.
0 commit comments