| skipped 763 lines |
764 | 764 | | semaphore, |
765 | 765 | | db: MaigretDatabase, |
766 | 766 | | silent=False, |
| 767 | + | proxy=None, |
767 | 768 | | tor_proxy=None, |
768 | 769 | | i2p_proxy=None, |
769 | 770 | | ): |
| skipped 19 lines |
789 | 790 | | forced=True, |
790 | 791 | | no_progressbar=True, |
791 | 792 | | retries=1, |
| 793 | + | proxy=proxy, |
792 | 794 | | tor_proxy=tor_proxy, |
793 | 795 | | i2p_proxy=i2p_proxy, |
794 | 796 | | ) |
| skipped 50 lines |
845 | 847 | | logger, |
846 | 848 | | silent=False, |
847 | 849 | | max_connections=10, |
| 850 | + | proxy=None, |
848 | 851 | | tor_proxy=None, |
849 | 852 | | i2p_proxy=None, |
850 | 853 | | ) -> bool: |
| skipped 8 lines |
859 | 862 | | |
860 | 863 | | for _, site in all_sites.items(): |
861 | 864 | | check_coro = site_self_check( |
862 | | - | site, logger, sem, db, silent, tor_proxy, i2p_proxy |
| 865 | + | site, logger, sem, db, silent, proxy, tor_proxy, i2p_proxy |
863 | 866 | | ) |
864 | 867 | | future = asyncio.ensure_future(check_coro) |
865 | 868 | | tasks.append(future) |
| skipped 21 lines |