Projects STRLCPY maigret Commits daaddbde
🤬
  • ■ ■ ■ ■ ■ ■
    maigret/resources/data.json
    skipped 116 lines
    117 117   "usernameUnclaimed": "noonewouldeverusethis7"
    118 118   },
    119 119   "24open": {
     120 + "disabled": true,
    120 121   "tags": [
    121 122   "dating",
    122 123   "ru",
    skipped 483 lines
    606 607   ],
    607 608   "regexCheck": "^[^\\.]+$",
    608 609   "checkType": "message",
    609  - "absenceStrs": "Leaderboard",
     610 + "presenseStrs": [
     611 + "Profile"
     612 + ],
     613 + "absenceStrs": [
     614 + "You are being"
     615 + ],
    610 616   "alexaRank": 5317,
    611 617   "url": "https://www.alltrails.com/members/{username}",
    612 618   "urlMain": "https://www.alltrails.com/",
    skipped 9557 lines
    10170 10176   "ru"
    10171 10177   ],
    10172 10178   "checkType": "message",
    10173  - "absenceStrs": "\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d \u0438 \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u043f\u0440\u043e\u0444\u0438\u043b\u044f \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430.",
     10179 + "absenceStrs": [
     10180 + "\u0417\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442"
     10181 + ],
    10174 10182   "alexaRank": 427429,
    10175 10183   "url": "https://www.prizyvnik.info/members/?username={username}",
    10176 10184   "urlMain": "https://www.prizyvnik.info",
    skipped 1934 lines
    12111 12119   "us"
    12112 12120   ],
    12113 12121   "headers": {
    12114  - "authorization": "Bearer BQD2HAPvSlZkuoFflR2L6YOns9-DRL_YSCCpmyozsml_FZYf8sICoKQpz3JqJ2JHrlUMm9K56bgw2BPbyJg"
     12122 + "authorization": "Bearer BQC38O_gP1qY7X8Ui7RsgyutAuZ2QissgeFgsDEX6siaE_dAFmzV0mWMSziGB_dLErQwtfJZa7qM9IsmNHI"
    12115 12123   },
    12116 12124   "errors": {
    12117 12125   "Spotify is currently not available in your country.": "Access denied in your country, use proxy/vpn"
    skipped 1295 lines
    13413 13421   "sec-ch-ua": "Google Chrome\";v=\"87\", \" Not;A Brand\";v=\"99\", \"Chromium\";v=\"87\"",
    13414 13422   "authorization": "Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA",
    13415 13423   "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
    13416  - "x-guest-token": "1381699376133857282"
     13424 + "x-guest-token": "1383754510309355527"
    13417 13425   },
    13418 13426   "errors": {
    13419 13427   "Bad guest token": "x-guest-token update required"
    skipped 370 lines
    13790 13798   "video"
    13791 13799   ],
    13792 13800   "headers": {
    13793  - "Authorization": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MTgyNTg2ODAsInVzZXJfaWQiOm51bGwsImFwcF9pZCI6NTg0NzksInNjb3BlcyI6InB1YmxpYyIsInRlYW1fdXNlcl9pZCI6bnVsbH0.gRqKPO3uS5pqVzYh0lHOGKSUAwq5dfIu7q7yfxoIgEE"
     13801 + "Authorization": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MTg3NDg3MDAsInVzZXJfaWQiOm51bGwsImFwcF9pZCI6NTg0NzksInNjb3BlcyI6InB1YmxpYyIsInRlYW1fdXNlcl9pZCI6bnVsbH0.MDKsnj8PbyC0qoxMpJG-s12azMVLirnJNPpGuu5pRjk"
    13794 13802   },
    13795 13803   "activation": {
    13796 13804   "url": "https://vimeo.com/_rv/viewer",
    skipped 123 lines
    13920 13928   "usernameUnclaimed": "noonewouldeverusethis7"
    13921 13929   },
    13922 13930   "Volgogradru": {
     13931 + "disabled": true,
    13923 13932   "tags": [
    13924 13933   "ru"
    13925 13934   ],
    skipped 9737 lines
  • ■ ■ ■ ■
    maigret/submit.py
    skipped 182 lines
    183 183   
    184 184   # check for existence
    185 185   matched_sites = list(filter(lambda x: domain_raw in x.url_main + x.url, db.sites))
     186 + 
    186 187   if matched_sites:
    187 188   print(f'Sites with domain "{domain_raw}" already exists in the Maigret database!')
    188 189   status = lambda s: '(disabled)' if s.disabled else ''
    189 190   url_block = lambda s: f'\n\t{s.url_main}\n\t{s.url}'
    190 191   print('\n'.join([f'{site.name} {status(site)}{url_block(site)}' for site in matched_sites]))
    191  - return False
     192 + 
     193 + if input(f'Do you want to continue? [yN] ').lower() in 'n':
     194 + return False
    192 195   
    193 196   url_mainpage = extract_mainpage_url(url_exists)
    194 197   
    skipped 39 lines
Please wait...
Page is in error, reload to recover