Commit 2483f10
Ang
- EnricherModule: add _crossref_headers with proper User-Agent and mailto
- _get_crossref_metadata: use shared headers/mailto for all requests
- _format_authors: handle name field (org authors) and given-only authors
- Add regression tests for both fixes
Closes #21
Closes #22
1 parent 737f404 commit 2483f10
2 files changed
Lines changed: 51 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2359 | 2359 | | |
2360 | 2360 | | |
2361 | 2361 | | |
| 2362 | + | |
| 2363 | + | |
| 2364 | + | |
| 2365 | + | |
| 2366 | + | |
2362 | 2367 | | |
2363 | 2368 | | |
2364 | 2369 | | |
| |||
2584 | 2589 | | |
2585 | 2590 | | |
2586 | 2591 | | |
2587 | | - | |
2588 | | - | |
2589 | | - | |
| 2592 | + | |
| 2593 | + | |
2590 | 2594 | | |
2591 | 2595 | | |
2592 | 2596 | | |
| |||
2800 | 2804 | | |
2801 | 2805 | | |
2802 | 2806 | | |
2803 | | - | |
2804 | | - | |
2805 | | - | |
2806 | | - | |
| 2807 | + | |
| 2808 | + | |
| 2809 | + | |
| 2810 | + | |
| 2811 | + | |
| 2812 | + | |
2807 | 2813 | | |
2808 | | - | |
| 2814 | + | |
2809 | 2815 | | |
| 2816 | + | |
| 2817 | + | |
2810 | 2818 | | |
2811 | 2819 | | |
2812 | 2820 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
684 | 719 | | |
685 | 720 | | |
686 | 721 | | |
| |||
0 commit comments