Corrections automatiques dans le topoguide

Clean recent change from 2023-07-16 00:00:00 to 2023-07-17 00:00:00

  • Inspected: 33
  • Corrected: 13

Clean recent change from 2023-07-17 00:00:00 to 2023-07-21 00:00:00

  • Inspected: 142
  • Corrected: 54

Clean recent change from 2023-07-21 00:00:00 to 2023-07-22 00:00:00

  • Inspected: 39
  • Corrected: 6

Clean recent change from 2023-07-22 00:00:00 to 2023-07-23 00:00:00

  • Inspected: 23
  • Corrected: 6

Clean recent change from 2023-07-23 00:00:00 to 2023-07-25 00:00:00

  • Inspected: 101
  • Corrected: 46

Clean recent change from 2023-07-25 00:00:00 to 2023-07-26 00:00:00

  • Inspected: 62
  • Corrected: 15
  • Skipped by bot owner: 1

Clean recent change from 2023-07-26 00:00:00 to 2023-07-29 00:00:00

  • Inspected: 82
  • Corrected: 20

Clean recent change from 2023-07-29 00:00:00 to 2023-07-30 00:00:00

  • Inspected: 57
  • Corrected: 10
  • Skipped because is not CC-BY-SA: 1

Clean recent change from 2023-07-30 00:00:00 to 2023-07-31 00:00:00

  • Inspected: 48
  • Corrected: 14
  • Skipped by bot owner: 1

Clean recent change from 2023-07-31 00:00:00 to 2023-08-01 00:00:00

  • Inspected: 68
  • Corrected: 18

Clean recent change from 2023-08-01 00:00:00 to 2023-08-02 00:00:00

  • Inspected: 46
  • Corrected: 13
  • Unexpcted error: 1
  • Skipped because is not CC-BY-SA: 1

Clean recent change from 2023-08-02 00:00:00 to 2023-08-03 00:00:00

  • Inspected: 24
  • Corrected: 6

Clean recent change from 2023-08-03 00:00:00 to 2023-08-04 00:00:00

  • Inspected: 43
  • Corrected: 9
  • Skipped by bot owner: 1

Clean recent change from 2023-08-04 00:00:00 to 2023-08-05 00:00:00

  • Inspected: 100
  • Corrected: 9

Clean recent change from 2023-08-05 00:00:00 to 2023-08-06 00:00:00

  • Inspected: 111
  • Corrected: 9

Clean documents from https://www.camptocamp.org/routes#w=44901

  • Inspected: 1
  • Corrected: 1

Clean recent change from 2023-08-06 00:00:00 to 2023-08-07 00:00:00

  • Inspected: 54
  • Corrected: 9
  • Skipped because is not CC-BY-SA: 1

Clean recent change from 2023-08-06 00:00:00 to 2023-08-10 00:00:00

  • Inspected: 220
  • Corrected: 29
  • Skipped by bot owner: 3
  • Skipped because is not CC-BY-SA: 1

Clean recent change from 2023-08-10 00:00:00 to 2023-08-11 00:00:00

  • Inspected: 108
  • Corrected: 10

@plopluplapi

Clean process works (done) but results don’t appear on the forum (pip updated)
:question:


2023-08-12 07:54:00,860 INFO Get modified documents from 2023-08-11 00:00:00 to 2023-08-12 00:00:00 in lang:fr
Traceback (most recent call last):
File « c:\users\borut\appdata\local\programs\python\python37\lib\runpy.py », line 193, in run_module_as_main
« main », mod_spec)
File « c:\users\borut\appdata\local\programs\python\python37\lib\runpy.py », line 85, in run_code
exec(code, run_globals)
File "C:\Users\Borut\AppData\Local\Programs\Python\Python37\Scripts\campbot.exe_main
.py", line 7, in
File "c:\users\borut\appdata\local\programs\python\python37\lib\site-packages\campbot_main
.py", line 78, in main_entry_point
main(docopt(doc))
File « c:\users\borut\appdata\local\programs\python\python37\lib\site-packages\campbot_main_.py », line 97, in main
thread_url=args["<thread_url>"],
File « c:\users\borut\appdata\local\programs\python\python37\lib\site-packages\campbot\core.py », line 801, in clean_recent_changes
get_documents(), lang, ask_before_saving, report_header, thread_url
File « c:\users\borut\appdata\local\programs\python\python37\lib\site-packages\campbot\core.py », line 657, in _process_documents
self.forum.post_message(f"### {report_header}\n\n{log_report}", thread_url)
File « c:\users\borut\appdata\local\programs\python\python37\lib\site-packages\campbot\core.py », line 331, in post_message
self.post("/posts", {« topic_id »: topic_id, « raw »: message})
File « c:\users\borut\appdata\local\programs\python\python37\lib\site-packages\campbot\core.py », line 79, in post
res.raise_for_status()
File « c:\users\borut\appdata\local\programs\python\python37\lib\site-packages\requests\models.py », line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: Forum - Camptocamp.org - Latest posts



C:\Users\Borut>pip install -U campbot
Requirement already satisfied: campbot in c:\users\borut\appdata\local\programs\python\python37\lib\site-packages (2.0.0)
Requirement already satisfied: docopt==0.6.2 in c:\users\borut\appdata\local\programs\python\python37\lib\site-packages (from campbot) (0.6.2)
Requirement already satisfied: requests==2.27.1 in c:\users\borut\appdata\local\programs\python\python37\lib\site-packages (from campbot) (2.27.1)
Requirement already satisfied: python-dateutil==2.8.2 in c:\users\borut\appdata\local\programs\python\python37\lib\site-packages (from campbot) (2.8.2)
Requirement already satisfied: pytz==2021.3 in c:\users\borut\appdata\local\programs\python\python37\lib\site-packages (from campbot) (2021.3)
Requirement already satisfied: six>=1.5 in c:\users\borut\appdata\local\programs\python\python37\lib\site-packages (from python-dateutil==2.8.2->campbot) (1.15.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\borut\appdata\local\programs\python\python37\lib\site-packages (from requests==2.27.1->campbot) (1.25.10)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\borut\appdata\local\programs\python\python37\lib\site-packages (from requests==2.27.1->campbot) (2020.6.20)
Requirement already satisfied: charset-normalizer~=2.0.0 in c:\users\borut\appdata\local\programs\python\python37\lib\site-packages (from requests==2.27.1->campbot) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in c:\users\borut\appdata\local\programs\python\python37\lib\site-packages (from requests==2.27.1->campbot) (2.10)
C:\Users\Borut>