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