| skipped 288 lines |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | async def maigret(username, site_dict, query_notify, logger, |
292 | | - | proxy=None, timeout=None, recursive_search=False, |
| 292 | + | proxy=None, timeout=None, is_parsing_enabled=False, |
293 | 293 | | id_type='username', debug=False, forced=False, |
294 | 294 | | max_connections=100, no_progressbar=False, |
295 | 295 | | cookies=None): |
| skipped 11 lines |
307 | 307 | | proxy -- String indicating the proxy URL |
308 | 308 | | timeout -- Time in seconds to wait before timing out request. |
309 | 309 | | Default is no timeout. |
310 | | - | recursive_search -- Search for other usernames in website pages & recursive search by them. |
| 310 | + | is_parsing_enabled -- Search for other usernames in website pages. |
311 | 311 | | |
312 | 312 | | Return Value: |
313 | 313 | | Dictionary containing results from report. Key of dictionary is the name |
| skipped 50 lines |
364 | 364 | | |
365 | 365 | | # Record URL of main site and username |
366 | 366 | | results_site['username'] = username |
367 | | - | results_site['parsing_enabled'] = recursive_search |
| 367 | + | results_site['parsing_enabled'] = is_parsing_enabled |
368 | 368 | | results_site['url_main'] = site.url_main |
369 | 369 | | results_site['cookies'] = cookie_jar and cookie_jar.filter_cookies(site.url_main) or None |
370 | 370 | | |
| skipped 235 lines |